|
@@ -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.
|