Closed pgib closed 3 years ago
Thank you for your feedback. It is a very useful feature to know that screen sharing is turned off. We will add this feature in subsequent versions
Hey @pgib, we ran into this issue too, there's an event you can listen to and then handle it. Here's how we do it.
localScreenTrack.on('track-ended', handleStopScreenShare)
Hey @pgib, we ran into this issue too, there's an event you can listen to and then handle it. Here's how we do it.
localScreenTrack.on('track-ended', handleStopScreenShare)
@FarazPatankar Thanks, that's perfect! 💯
Describe the bug
When there's an active screen share, the browser (Chrome in my case) adds a banner to the top of all windows that informs the user that screen content is being shared. If I use the browser's Stop button, it's unclear how I detect that using the Agora SDK. It currently leaves the stream playing, but it's a black box.