Comments (5)
Thanks for the feature request @krkrosenbergtech!
I have a PR up here to add the feature: #159
from twilio-video-app-react.
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.
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.
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.
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)
- twilio-video upgrade HOT 1
- Second participant audio is not playing on first participant screen HOT 2
- WhiteBoard Feature HOT 2
- waiting room HOT 1
- document and present Capability HOT 1
- token generation failed overall but also succeeded intermittently. HOT 1
- Screen sharing audio capabilities and the ability to see your own shared content. HOT 1
- Error when attempting to build local server HOT 1
- The request body is undefined unless we add bodyParser or express.json
- Camera light remains open once user disconnects from the room HOT 6
- Using WebAudio - AudioWorkletProcessors to process Audio Data
- Transcribing calls
- Upgrade security of the app with a token from our server. Passcode gets in the way when the app is deployed. HOT 1
- what is the use of web sockets
- Passcode starting with number '0' causes a bad passcode error.
- A thumbs up appears in the middle of the screen... HOT 1
- Mac OS Safari Screen Sharing performance degrades during recording
- Refactoring of code smells
- can anyone tell me what is the issue in me code
- Download the attachement added in the chat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio-video-app-react.