Explorar el Código

fix(codec-selection) Calc preferred codec after media session is established.

Fixes an issue on mobile where the videos of users joining after the mobile endpoint are not being rendered.
master
Jaya Allamsetty hace 2 años
padre
commit
7f0012f7dc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      modules/RTC/CodecSelection.js

+ 3
- 0
modules/RTC/CodecSelection.js Ver fichero

@@ -56,6 +56,9 @@ export class CodecSelection {
56 56
             + `disabled=${this.jvbDisabledCodec} P2P: preferred=${this.p2pPreferredCodec},`
57 57
             + `disabled=${this.p2pDisabledCodec}`);
58 58
 
59
+        this.conference.on(
60
+            JitsiConferenceEvents._MEDIA_SESSION_STARTED,
61
+            session => this._selectPreferredCodec(session));
59 62
         this.conference.on(
60 63
             JitsiConferenceEvents.USER_JOINED,
61 64
             () => this._selectPreferredCodec());

Loading…
Cancelar
Guardar