Video freeze after come back from background
See original GitHub issueSteps to reproduce
- connect to room
- one participant in the room
- local video ON for a while (around 5-10 min ??)
- Go background, foreground, background, lock the device and come back to foreground
- after that got this error:
ERROR:Twilio:[Platform](0x16b593000): Camera capture has been stopped. You should call
stopCapturebefore cleaning up TVICameraSource resources to avoid seeing this error message in the future.
Expected behaviour
Local Camera should work still.
Actual behaviour
Local Camera failed to stream.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Videos freezing in the background - Microsoft Community
After the last windows update or so, I stopped being able to run videos in the background. Minimizing a window has always made...
Read more >Video Freeze on iOS 15 after come back from Background #589
The local video is freeze and failed to stream, this is an intermittent problem, but happens frequently. Here are the error logs from...
Read more >Swift iOS -AVPlayer Video Freezes / Pauses When App ...
According to the Apple Docs when a video is playing and the app is sent to the background the player is automatically paused:....
Read more >How to Fix Frozen Video Files When Playing?
Go back to the left bottom corner and check the "Simple" option, go to the Video section, and Change the Video Output settings...
Read more >Background programs, mostly videos freeze when im tabbed ...
Go to the game folder and right click on the setup file. · Click on Properties and go to the Compatibility tab. ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Balasnest Thanks for the link. I managed to fix it by enabling/disabling the local video feed based on the app state. Used the
setLocalVideoEnabled
method.@slycoder @nvme978 Please review this PR and merge.