Skip to content

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

videoSrcToSsrc stores strings

George Politis092149711b82
diff --git a/videolayout.js b/videolayout.js
index 345b996034..4f77b8cf7d 100644
--- a/videolayout.js
+++ b/videolayout.js
@@ -247,7 +247,7 @@ var VideoLayout = (function (my) {
oldContainer.removeClass("videoContainerFocused");
}
- // Unlock current focused.
+ // Unlock current focused.
if (focusedVideoSrc === videoSrc)
{
focusedVideoSrc = null;
@@ -1634,7 +1634,7 @@ var VideoLayout = (function (my) {
}
selRemoteVideo.attr('src', electedStreamUrl);
- videoSrcToSsrc[selRemoteVideo.attr('src')] = primarySSRC;
+ videoSrcToSsrc[selRemoteVideo.attr('src')] = primarySSRC + ''; // what we store there is typeof string.
if (updateLargeVideo) {
VideoLayout.updateLargeVideo(electedStreamUrl);