Bläddra i källkod

Get rid of stats debug message, fix typo with codec type.

dev1
Jaya Allamsetty 4 år sedan
förälder
incheckning
2e598a4bda
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. 0
    1
      modules/RTC/BridgeChannel.js
  2. 2
    2
      modules/xmpp/JingleSessionPC.js

+ 0
- 1
modules/RTC/BridgeChannel.js Visa fil

@@ -180,7 +180,6 @@ export default class BridgeChannel {
180 180
      * @throws NetworkError/InvalidStateError/Error if the operation fails or if there is no data channel created.
181 181
      */
182 182
     sendEndpointStatsMessage(payload) {
183
-        logger.debug(`Sending endpoint stats ${JSON.stringify(payload)}`);
184 183
         this._send({
185 184
             colibriClass: 'EndpointStats',
186 185
             ...payload

+ 2
- 2
modules/xmpp/JingleSessionPC.js Visa fil

@@ -3,7 +3,7 @@
3 3
 import { getLogger } from 'jitsi-meet-logger';
4 4
 import { $iq, Strophe } from 'strophe.js';
5 5
 
6
-import * as MediaType from '../../service/RTC/MediaType';
6
+import * as CodecMimeType from '../../service/RTC/CodecMimeType';
7 7
 import {
8 8
     ICE_DURATION,
9 9
     ICE_STATE_CHANGED
@@ -343,7 +343,7 @@ export default class JingleSessionPC extends JingleSession {
343 343
             pcOptions.disableSimulcast
344 344
                 = options.disableSimulcast
345 345
                     || (options.preferH264 && !options.disableH264)
346
-                    || (options.videoQuality && options.videoQuality.preferredCodec === MediaType.H264);
346
+                    || (options.videoQuality && options.videoQuality.preferredCodec === CodecMimeType.H264);
347 347
 
348 348
             // disable simulcast for screenshare and set the max bitrate to
349 349
             // 500Kbps if the testing flag is present in config.js.

Laddar…
Avbryt
Spara