|
@@ -170,24 +170,6 @@ var VideoLayout = {
|
170
|
170
|
largeVideo.updateLargeVideoAudioLevel(lvl);
|
171
|
171
|
},
|
172
|
172
|
|
173
|
|
- changeLocalAudio (stream) {
|
174
|
|
- let localAudio = document.getElementById('localAudio');
|
175
|
|
- localAudio = stream.attach(localAudio);
|
176
|
|
-
|
177
|
|
- // Now when Temasys plugin is converting also <audio> elements to
|
178
|
|
- // plugin's <object>s, in current layout it will capture click events
|
179
|
|
- // before it reaches the local video object. We hide it here in order
|
180
|
|
- // to prevent that.
|
181
|
|
- //if (RTCBrowserType.isIExplorer()) {
|
182
|
|
- // The issue is not present on Safari. Also if we hide it in Safari
|
183
|
|
- // then the local audio track will have 'enabled' flag set to false
|
184
|
|
- // which will result in audio mute issues
|
185
|
|
- // $(localAudio).hide();
|
186
|
|
- localAudio.width = 1;
|
187
|
|
- localAudio.height = 1;
|
188
|
|
- //}
|
189
|
|
- },
|
190
|
|
-
|
191
|
173
|
changeLocalVideo (stream) {
|
192
|
174
|
let localId = APP.conference.getMyUserId();
|
193
|
175
|
this.onVideoTypeChanged(localId, stream.videoType);
|