Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Use special JitsiTrackError object instead just strings for various types of errors that may happen to JitsiTrack
tsareg48b219111df3
diff --git a/conference.js b/conference.jsindex 8580931334..c65e86dca6 100644--- a/conference.js+++ b/conference.js@@ -977,18 +977,21 @@ export default {this.videoSwitchInProgress = false;this.toggleScreenSharing(false);- if(err === TrackErrors.CHROME_EXTENSION_USER_CANCELED)+ if (err.name === TrackErrors.CHROME_EXTENSION_USER_CANCELED) {return;+ }console.error('failed to share local desktop', err);- if (err === TrackErrors.FIREFOX_EXTENSION_NEEDED) {+ if (err.name === TrackErrors.FIREFOX_EXTENSION_NEEDED) {APP.UI.showExtensionRequiredDialog(config.desktopSharingFirefoxExtensionURL);return;}+ // TODO: handle Permission error+// Handling:// TrackErrors.CHROME_EXTENSION_INSTALLATION_ERROR// TrackErrors.GENERALdiff --git a/nwjs-integration/index.html b/nwjs-integration/index.htmlindex f345d0e4c4..fce912d881 100644--- a/nwjs-integration/index.html+++ b/nwjs-integration/index.html@@ -36,7 +36,10 @@};navigator.webkitGetUserMedia({audio: false, video: vid_constraint- }, callback, errorCallback);+ }, callback, function (error) {+ errorCallback &&+ errorCallback(error, vid_constraint);+ });});}