Code Monkey home page Code Monkey logo

Comments (5)

timmydoza avatar timmydoza commented on June 12, 2024 1

Thanks for the feature request @krkrosenbergtech!

I have a PR up here to add the feature: #159

from twilio-video-app-react.

imarshmultani avatar imarshmultani commented on June 12, 2024

Hi @timmydoza ... i'm continuesly getting:

Type 'Participant' is not assignable to type 'LocalParticipant | RemoteParticipant'.
  Type 'Participant' is not assignable to type 'RemoteParticipant'.
    Types of property 'audioTracks' are incompatible.
      Type 'Map<string, AudioTrackPublication>' is not assignable to type 'Map<string, RemoteAudioTrackPublication>'.
        Type 'AudioTrackPublication' is not assignable to type 'RemoteAudioTrackPublication'.
          Property 'isSubscribed' is missing in type 'LocalAudioTrackPublication' but required in type 'RemoteAudioTrackPublication'.  TS2322

     9 |     /* audio is disabled for this participant component because this participant's audio 
    10 |        is already being rendered in the <ParticipantStrip /> component.  */
  > 11 |     <MainParticipantInfo participant={mainParticipant}>
       |                          ^
    12 | 
    13 |       <ParticipantTracks participant={mainParticipant} disableAudio enableScreenShare videoPriority="high" />
    14 |       

Do you anything about this how we can fix this issue ? ... it was working fine before, i had my friend shared same code and he was getting the same error from start , but i just started getting it ...

from twilio-video-app-react.

timmydoza avatar timmydoza commented on June 12, 2024

Hey @imarshmultani - that looks like the same error from this issue: #91

This issue was fixed a few weeks ago. Are you using the most up-to-date version of the codebase? If you are, the version of typescript as specified in package.json should be 3.8.3.

from twilio-video-app-react.

imarshmultani avatar imarshmultani commented on June 12, 2024

Thanks for getting back @timmydoza below is my current package.json :

"dependencies": {
    "@material-ui/core": "^4.9.1",
    "@material-ui/icons": "^4.9.1",
    "@primer/octicons-react": "^9.4.0",
    "@types/fscreen": "^1.0.1",
    "@types/jest": "^24.9.1",
    "@types/lodash.throttle": "^4.1.6",
    "@types/node": "^12.12.26",
    "@types/react": "^16.9.19",
    "@types/react-dom": "^16.9.5",
    "@types/react-router-dom": "^5.1.3",
    "@types/twilio-video": "^2.0.10",
    "concurrently": "^5.1.0",
    "cross-env": "^7.0.2",
    "express": "^4.17.1",
    "fscreen": "^1.0.2",
    "husky": "^3.1.0",
    "lint-staged": "^9.5.0",
    "lodash.throttle": "^4.1.1",
    "prettier": "^1.19.1",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-redux": "^7.2.0",
    "react-router-dom": "^5.1.2",
    "react-scripts": "^3.3.1",
    "redux": "^4.0.5",
    "socket.io-client": "^2.3.0",
    "twilio": "^3.39.3",
    "twilio-video": "^2.2.0",
    "typescript": "^3.7.5"
  },

if i pull new updates from, i'm afraid it might override my local changes ? .

from twilio-video-app-react.

timmydoza avatar timmydoza commented on June 12, 2024

Thanks @imarshmultani. Looks like you are using an older version of the codebase. You can try to merge in new changes if you want, but there still is a way to get this to work.

Are you using yarn by any chance? If so, try running npm install instead. I explain this solution in the previously linked github issue: #91 (comment)

from twilio-video-app-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.