fix(config) Remove code related to deprecated configs 'preferH264' and 'disableH264'.

pull/12713/head jitsi-meet_8174
Jaya Allamsetty 2 years ago
parent 291370a263
commit e7078786e6
  1. 19
      config.js
  2. 4
      react/features/base/config/configType.ts
  3. 2
      react/features/base/config/configWhitelist.ts

@ -262,17 +262,6 @@ var config = {
// applied locally. FIXME: having these 2 options is confusing. // applied locally. FIXME: having these 2 options is confusing.
// startWithVideoMuted: false, // startWithVideoMuted: false,
// If set to true, prefer to use the H.264 video codec (if supported).
// Note that it's not recommended to do this because simulcast is not
// supported when using H.264. For 1-to-1 calls this setting is enabled by
// default and can be toggled in the p2p section.
// This option has been deprecated, use preferredCodec under videoQuality section instead.
// preferH264: true,
// If set to true, disable H.264 video codec by stripping it out of the
// SDP.
// disableH264: false,
// Desktop sharing // Desktop sharing
// Optional desktop sharing frame rate options. Default value: min:5, max:5. // Optional desktop sharing frame rate options. Default value: min:5, max:5.
@ -923,18 +912,10 @@ var config = {
// If not set, the effective value is 'all'. // If not set, the effective value is 'all'.
// iceTransportPolicy: 'all', // iceTransportPolicy: 'all',
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
// is supported). This setting is deprecated, use preferredCodec instead.
// preferH264: true,
// Provides a way to set the video codec preference on the p2p connection. Acceptable // Provides a way to set the video codec preference on the p2p connection. Acceptable
// codec values are 'VP8', 'VP9' and 'H264'. // codec values are 'VP8', 'VP9' and 'H264'.
// preferredCodec: 'H264', // preferredCodec: 'H264',
// If set to true, disable H.264 video codec by stripping it out of the
// SDP. This setting is deprecated, use disabledCodec instead.
// disableH264: false,
// Provides a way to prevent a video codec from being negotiated on the p2p connection. // Provides a way to prevent a video codec from being negotiated on the p2p connection.
// disabledCodec: '', // disabledCodec: '',

@ -233,7 +233,6 @@ export interface IConfig {
disableChatSmileys?: boolean; disableChatSmileys?: boolean;
disableDeepLinking?: boolean; disableDeepLinking?: boolean;
disableFilmstripAutohiding?: boolean; disableFilmstripAutohiding?: boolean;
disableH264?: boolean;
disableIncomingMessageSound?: boolean; disableIncomingMessageSound?: boolean;
disableInitialGUM?: boolean; disableInitialGUM?: boolean;
disableInviteFunctions?: boolean; disableInviteFunctions?: boolean;
@ -414,12 +413,10 @@ export interface IConfig {
opusMaxAverageBitrate?: number; opusMaxAverageBitrate?: number;
p2p?: { p2p?: {
backToP2PDelay?: number; backToP2PDelay?: number;
disableH264?: boolean;
disabledCodec?: string; disabledCodec?: string;
enableUnifiedOnChrome?: boolean; enableUnifiedOnChrome?: boolean;
enabled?: boolean; enabled?: boolean;
iceTransportPolicy?: string; iceTransportPolicy?: string;
preferH264?: boolean;
preferredCodec?: string; preferredCodec?: string;
stunServers?: Array<{ urls: string; }>; stunServers?: Array<{ urls: string; }>;
}; };
@ -430,7 +427,6 @@ export interface IConfig {
}; };
pcStatsInterval?: number; pcStatsInterval?: number;
peopleSearchUrl?: string; peopleSearchUrl?: string;
preferH264?: boolean;
preferredTranscribeLanguage?: string; preferredTranscribeLanguage?: string;
prejoinConfig?: { prejoinConfig?: {
enabled?: boolean; enabled?: boolean;

@ -101,7 +101,6 @@ export default [
'disabledSounds', 'disabledSounds',
'disableFilmstripAutohiding', 'disableFilmstripAutohiding',
'disableInitialGUM', 'disableInitialGUM',
'disableH264',
'disableHPF', 'disableHPF',
'disableInviteFunctions', 'disableInviteFunctions',
'disableIncomingMessageSound', 'disableIncomingMessageSound',
@ -199,7 +198,6 @@ export default [
'p2p', 'p2p',
'participantsPane', 'participantsPane',
'pcStatsInterval', 'pcStatsInterval',
'preferH264',
'preferredCodec', 'preferredCodec',
'prejoinConfig', 'prejoinConfig',
'prejoinPageEnabled', 'prejoinPageEnabled',

Loading…
Cancel
Save