videoSrcToSsrc stores strings

This commit is contained in:
George Politis 2014-11-24 12:00:15 +01:00
parent 2004b6ef18
commit 092149711b
1 changed files with 2 additions and 2 deletions

View File

@ -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);