Open nlyn opened 5 years ago
When I share screen, the audio stops.
How can I keep sharing audio from the same source and share the screen?
@nlyn Did you succeed on reducing/skipping the time you are off the call until you select what windows/applications you want to share?
This is somehow duplicate of https://github.com/opentok/opentok-react/issues/84. Please check https://github.com/opentok/opentok-react/issues/84#issuecomment-604934795 and https://github.com/nexmo-se/opentok-react-screenshare-sample
When you switch video source the transition is really harsh. You essentially drop off the call while the new publisher is created and connects to the stream - and in the case of switching to screen sharing, you are off the call for the entire duration of time you select what windows/applications you want to share.
I'd suggest improving this transition so that the existing publisher isn't destroyed until the new publisher is publishing to the stream.