Browse Source

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

dev1
Jaya Allamsetty 4 years ago
parent
commit
2e598a4bda
2 changed files with 2 additions and 3 deletions
  1. 0
    1
      modules/RTC/BridgeChannel.js
  2. 2
    2
      modules/xmpp/JingleSessionPC.js

+ 0
- 1
modules/RTC/BridgeChannel.js View File

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

+ 2
- 2
modules/xmpp/JingleSessionPC.js View File

3
 import { getLogger } from 'jitsi-meet-logger';
3
 import { getLogger } from 'jitsi-meet-logger';
4
 import { $iq, Strophe } from 'strophe.js';
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
 import {
7
 import {
8
     ICE_DURATION,
8
     ICE_DURATION,
9
     ICE_STATE_CHANGED
9
     ICE_STATE_CHANGED
343
             pcOptions.disableSimulcast
343
             pcOptions.disableSimulcast
344
                 = options.disableSimulcast
344
                 = options.disableSimulcast
345
                     || (options.preferH264 && !options.disableH264)
345
                     || (options.preferH264 && !options.disableH264)
346
-                    || (options.videoQuality && options.videoQuality.preferredCodec === MediaType.H264);
346
+                    || (options.videoQuality && options.videoQuality.preferredCodec === CodecMimeType.H264);
347
 
347
 
348
             // disable simulcast for screenshare and set the max bitrate to
348
             // disable simulcast for screenshare and set the max bitrate to
349
             // 500Kbps if the testing flag is present in config.js.
349
             // 500Kbps if the testing flag is present in config.js.

Loading…
Cancel
Save