Skip to content

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

fix(useVideoStream): a crash after GUM failure (#13040)

Paweł Domasf253939f2849
diff --git a/conference.js b/conference.js
index 64a6cc0686..fe3b32c00c 100644
--- a/conference.js
+++ b/conference.js
@@ -1455,7 +1455,7 @@ export default {
logger.debug(`useVideoStream: Replacing ${oldTrack} with ${newTrack}`);
- if (oldTrack === newTrack) {
+ if (oldTrack === newTrack || (!oldTrack && !newTrack)) {
resolve();
onFinish();