videoSrcToSsrc stores strings

pull/201/merge
George Politis 11 years ago
parent 2004b6ef18
commit 092149711b
  1. 4
      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);

Loading…
Cancel
Save