|
@@ -182,11 +182,6 @@ var VideoLayout = (function (my) {
|
182
|
182
|
largeVideoState.preload = null;
|
183
|
183
|
largeVideoState.preload_ssrc = 0;
|
184
|
184
|
} else {
|
185
|
|
- if (largeVideoState.preload
|
186
|
|
- && largeVideoState.preload != null) {
|
187
|
|
- $(largeVideoState.preload).remove();
|
188
|
|
- largeVideoState.preload_ssrc = 0;
|
189
|
|
- }
|
190
|
185
|
$('#largeVideo').attr('src', largeVideoState.newSrc);
|
191
|
186
|
}
|
192
|
187
|
|
|
@@ -1467,7 +1462,6 @@ var VideoLayout = (function (my) {
|
1467
|
1462
|
}
|
1468
|
1463
|
|
1469
|
1464
|
if (session && electedStream) {
|
1470
|
|
- console.info('Switching simulcast substream.');
|
1471
|
1465
|
console.info([esl, primarySSRC, msid, session, electedStream]);
|
1472
|
1466
|
|
1473
|
1467
|
var msidParts = msid.split(' ');
|
|
@@ -1563,6 +1557,13 @@ var VideoLayout = (function (my) {
|
1563
|
1557
|
}
|
1564
|
1558
|
else
|
1565
|
1559
|
{
|
|
1560
|
+ if (largeVideoState.preload
|
|
1561
|
+ && largeVideoState.preload != null) {
|
|
1562
|
+ $(largeVideoState.preload).remove();
|
|
1563
|
+ }
|
|
1564
|
+
|
|
1565
|
+ largeVideoState.preload_ssrc = 0;
|
|
1566
|
+
|
1566
|
1567
|
electedStreamUrl = webkitURL.createObjectURL(electedStream);
|
1567
|
1568
|
}
|
1568
|
1569
|
|