Comments (4)
Thanks for writing in with your issue. You don't need to call stop()
before calling restart()
. Also, it is better to await
on the Promise returned by restart()
. Hope this helps.
from twilio-video.js.
Hi @manjeshbhargav,
Thanks for your inputs.
Tried without stop() in Samsung mobiles and when we switch camera it was not switching properly. As workaround I've added stop() before calling restart() for android mobiles.
I've to verify iPhone devices with await on the restart().
All works fine for the first time. Whenever we switch the cameras for the second time in Samsung mobiles getting "DOMException: Could not start video source" error in console and the screen becomes black.
from twilio-video.js.
Hi @manjeshbhargav,
Any ideas?
from twilio-video.js.
Hey @loganathanav I've run into this issue extensively before. We realized that we were asking for permissions twice. Once through getUserMedia() and another through createLocalTracks(). Didn't realize that createLocalTracks() also asks for permissions. Not sure if related to your issue but hope it helps,
from twilio-video.js.
Related Issues (20)
- Issues on iOS 17 in mobile Chrome and Safari HOT 6
- Data track does not trigger "trackSubscribed" on unpublish republish data track. HOT 9
- Intermittent video stream flickering on Android/Chrome
- participant.networkQualityLevel Returns Null When Connect to a Room with Audio and Video Off HOT 1
- Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
- DOMException error with no stack trace
- Restarting local audio track with noise cancellation
- Angular 6 Uncaught TypeError: Cannot assign to read only property 'exports' of object '[object Object]' ;
- Apple hand gestures getting sent on video call HOT 1
- End of Life HOT 2
- Twilio Programmable Video End of Life and Transition Plan HOT 10
- Thank You
- Issue with datatracks React - Sometimes participants new are not subcribed
- Video: Test Group Room with TURN & Video: Test Group Room without TURN FAILS HOT 1
- Mark Brave supported HOT 1
- Anyone experiencing crashes with Chrome v122? HOT 11
- Officially support Chromium's new documentPictureInPicture API
- Allow calling `track.restart()` on local tracks created using constructors
- Black video stream issue
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.js.