Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Merge pull request #524 from damencho/ds-error-handle

yanas729ca2fbe6cf
diff --cc conference.js
index 2a0470d843,a75e1f312e..f39ba2e247
--- a/conference.js
+++ b/conference.js
@@@ -610,9 -593,9 +593,9 @@@ export default
this.videoSwitchInProgress = true;
if (shareScreen) {
- createDesktopTrack().then(([stream]) => {
+ createLocalTracks('desktop').then(([stream]) => {
stream.on(
- TrackEvents.TRACK_STOPPED,
+ TrackEvents.LOCAL_TRACK_STOPPED,
() => {
// if stream was stopped during screensharing session
// then we should switch to video