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
fix: Fixes start A/V muted received by focus in case of slow gUM.
Дамян Минковd91e7c3d31d5
diff --git a/conference.js b/conference.jsindex 33fc39eab9..ae412b7330 100644--- a/conference.js+++ b/conference.js@@ -841,7 +841,21 @@ export default {this._displayErrorsForCreateInitialLocalTracks(errors);- return this._setLocalAudioVideoStreams(handleStartAudioMuted(initialOptions, tracks));+ let localTracks = handleStartAudioMuted(initialOptions, tracks);++ // in case where gum is slow and resolves after the startAudio/VideoMuted coming from jicofo, we can be+ // join unmuted even though jicofo had instruct us to mute, so let's respect that before passing the tracks+ if (!browser.isWebKitBased()) {+ if (room?.isStartAudioMuted()) {+ localTracks = localTracks.filter(track => track.getType() !== MEDIA_TYPE.AUDIO);+ }+ }++ if (room?.isStartVideoMuted()) {+ localTracks = localTracks.filter(track => track.getType() !== MEDIA_TYPE.VIDEO);+ }++ return this._setLocalAudioVideoStreams(localTracks);}const [ tracks, con ] = await this.createInitialLocalTracksAndConnect(roomName, initialOptions);