Преглед на файлове

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 преди 2 години
родител
ревизия
7f0012f7dc
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3
    0
      modules/RTC/CodecSelection.js

+ 3
- 0
modules/RTC/CodecSelection.js Целия файл

@@ -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…
Отказ
Запис