You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start the project in Unity 2019.4.0f1. I press "Desktop Screen Share" after putting in an agora stream channel.
I am greeted with my webcam turned on. I click "Share display" once and it will switch to the desktop screen.
There is no way to prevent webcam turning on, or an option to ignore it. I've attempted to debug the code for AgoraNativeBridge.MONITORINFO but these return either 40 or single digit values in Unity so I can't exactly tell what is monitor and what is a webcam.
The text was updated successfully, but these errors were encountered:
Hello, We no longer maintain the code in the advanced demo. If you want to try the screen sharing function, please use the example in the link: ScreenShareOnDesktop
@pnguyen2232 - the webcam is turned off when you are sharing the display. Before that, the demo shows the local video from webcam as default. To completely turn off the webcam, you can call EnableLocalVideo(false) when setting up the Agora engine.
I start the project in Unity 2019.4.0f1. I press "Desktop Screen Share" after putting in an agora stream channel.
I am greeted with my webcam turned on. I click "Share display" once and it will switch to the desktop screen.
There is no way to prevent webcam turning on, or an option to ignore it. I've attempted to debug the code for AgoraNativeBridge.MONITORINFO but these return either 40 or single digit values in Unity so I can't exactly tell what is monitor and what is a webcam.
The text was updated successfully, but these errors were encountered: