How to enable sharescreen and camera same time? #251
-
|
I'm wanting my webcam screen and desktop to appear on the same screen ( 2 separate monitors ). But currently, I can only create 2 monitors with the same functionality (currently the same webcam or desktop). I have to make these 2 screens work separately. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I don't understand your question. Camera and screensharing can be run at the same time. See the example code in screen-sharing. If that's not what you are asking for, can you use screenshots or diagrams to illustrate your question? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Hi @DatTran0301 , the example shows how you do this. See the option for useNewScreenShare and the API call to
mRtcEngine.StartNewScreenCaptureForWeb. The included test scene shows two object to send your camera stream and the screenshare separately.