question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video freeze after come back from background

See original GitHub issue

Steps to reproduce

  1. connect to room
  2. one participant in the room
  3. local video ON for a while (around 5-10 min ??)
  4. Go background, foreground, background, lock the device and come back to foreground
  5. after that got this error: ERROR:Twilio:[Platform](0x16b593000): Camera capture has been stopped. You should call stopCapture before 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:open
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
nimeetshah0commented, Jun 8, 2020

@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.

0reactions
Balasnestcommented, Jun 7, 2020

@slycoder @nvme978 Please review this PR and merge.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found