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.

Calling disableVideo() freezes the video instead of switching off camera

See original GitHub issue

Intended Behavoiur

Calling these functions should disable my camera and render a black screen.

Actual Behaviour

Calling either of them freezes the video.

Functions affected

RtcEngine.disableVideo()

OS - Android Device used - Redmi Note 4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Matrixbirdscommented, Mar 27, 2019

I have already update the simpleDemo, it is an example using it in the correct way to handle this case. If you still have any question here open the issue again.

0reactions
Matrixbirdscommented, Mar 27, 2019

Finally, I have do some research. This is a design problem, Agora RTC SDK will keep the last video frame. My advice is to unmount this component in react layer, you need define a bool showVideo state and then render the AgoraView component when the state is true.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calling disableVideo() freezes the video instead of switching ...
Calling these functions should disable my camera and render a black screen. Actual Behaviour. Calling either of them freezes the video.
Read more >
When on a live video the camera or video freezes as soon as ...
Hi Thomas! My name is Therese, an Independent Advisor. There are a lot of reasons why you're experiencing issues with Skype video calls....
Read more >
Twilio video onParticipant{Disabled}VideoTrack Freezes Video
I have implemented functionality of one-to-one video call. Below is my code i use to enable/disable video. toggleVideo() { this.videoConference ...
Read more >
Video freezes when switching from a static frame to the camera
When the video mixer switches from a static idle frame to the video feed, then the video looks like its freezing for the...
Read more >
Turning video off when joining a meeting - Zoom Support
Disable video by default · Sign in to the Zoom mobile app. · At the bottom of the screen, tap Settings settings-button.png ....
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