Ver código fonte

fix(muting): do not re-assign value of local track containers (#781)

RTCUtils.attachMediaStream was changed not to return elements;
instead it returns undefined by default. When mapping over
containers and call RTCUtils.attachMediaStream, containers
would be changed to undefined.
tags/v0.0.2
virtuacoplenny 7 anos atrás
pai
commit
36cf9b7753
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      modules/RTC/JitsiLocalTrack.js

+ 1
- 1
modules/RTC/JitsiLocalTrack.js Ver arquivo

@@ -421,7 +421,7 @@ export default class JitsiLocalTrack extends JitsiTrack {
421 421
                     throw new JitsiTrackError(TRACK_NO_STREAM_FOUND);
422 422
                 }
423 423
 
424
-                this.containers = this.containers.map(
424
+                this.containers.map(
425 425
                     cont => RTCUtils.attachMediaStream(cont, this.stream));
426 426
 
427 427
                 return this._addStreamToConferenceAsUnmute();

Carregando…
Cancelar
Salvar