|
@@ -99,7 +99,6 @@ function doJoin() {
|
99
|
99
|
$(document).bind('mediaready.jingle', function (event, stream) {
|
100
|
100
|
connection.jingle.localStream = stream;
|
101
|
101
|
RTC.attachMediaStream($('#localVideo'), stream);
|
102
|
|
- document.getElementById('localVideo').muted = true;
|
103
|
102
|
document.getElementById('localVideo').autoplay = true;
|
104
|
103
|
document.getElementById('localVideo').volume = 0;
|
105
|
104
|
|
|
@@ -107,7 +106,13 @@ $(document).bind('mediaready.jingle', function (event, stream) {
|
107
|
106
|
updateLargeVideo(localVideoSrc, true, 0);
|
108
|
107
|
|
109
|
108
|
$('#localVideo').click(function () {
|
110
|
|
- updateLargeVideo($(this).attr('src'), true, 1);
|
|
109
|
+ updateLargeVideo($(this).attr('src'), true, 0);
|
|
110
|
+ $('video').each(function (idx, el) {
|
|
111
|
+ if (el.id.indexOf('mixedmslabel') != -1) {
|
|
112
|
+ el.volume = 0;
|
|
113
|
+ el.volume = 1;
|
|
114
|
+ }
|
|
115
|
+ });
|
111
|
116
|
});
|
112
|
117
|
|
113
|
118
|
doJoin();
|