@byteplus/rtc 4.65.13 → 4.65.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extension-ainr/index.js +2 -2
- package/extension-ainr/index.umd.js +2 -2
- package/extension-beauty/index.js +2 -2
- package/extension-beauty/index.umd.js +2 -2
- package/index.d.ts +14 -2
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -74,6 +74,8 @@ declare const Config: {
|
|
|
74
74
|
AUDIO_CODEC: string;
|
|
75
75
|
SKIP_SEI_FILTER: boolean;
|
|
76
76
|
ENABLE_FALLBACK_HANDLER: boolean;
|
|
77
|
+
ENABLE_STANDARD_HANDLER: boolean;
|
|
78
|
+
PC_KILLSWITCH: {};
|
|
77
79
|
};
|
|
78
80
|
declare const _default: VERTC;
|
|
79
81
|
declare enum AudioMixingError {
|
|
@@ -964,7 +966,7 @@ declare enum StreamMixingEventType {
|
|
|
964
966
|
STOP_FAILED = 9
|
|
965
967
|
}
|
|
966
968
|
declare function getElectronScreenSources(type?: ScreenSourceType): Promise<ElectronDesktopCapturerSource[]>;
|
|
967
|
-
declare function getParameter(key: keyof typeof Config):
|
|
969
|
+
declare function getParameter(key: keyof typeof Config): {};
|
|
968
970
|
declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
|
|
969
971
|
|
|
970
972
|
/**
|
|
@@ -3630,6 +3632,15 @@ export interface IJoinRoomConfig {
|
|
|
3630
3632
|
joinWithTcpOnly: boolean;
|
|
3631
3633
|
joinWithTcpOnlyDelay: number;
|
|
3632
3634
|
}
|
|
3635
|
+
export interface IPCKillSwitch {
|
|
3636
|
+
ctor_sdpsemantics_add: boolean;
|
|
3637
|
+
ctor_encodedinsetablestream_add: boolean;
|
|
3638
|
+
sld_rtcpfb_rrtr_add: boolean;
|
|
3639
|
+
sld_ext_sdesmid_remove: boolean;
|
|
3640
|
+
sld_fmtp_sps_add: boolean;
|
|
3641
|
+
sld_fmtp_bitrate_add: boolean;
|
|
3642
|
+
sld_fmtp_opus_add: boolean;
|
|
3643
|
+
}
|
|
3633
3644
|
|
|
3634
3645
|
/**
|
|
3635
3646
|
* @id RTCEngine
|
|
@@ -6747,6 +6758,8 @@ export interface SetParamInterface {
|
|
|
6747
6758
|
AUDIO_CODEC: string;
|
|
6748
6759
|
SKIP_SEI_FILTER: boolean;
|
|
6749
6760
|
ENABLE_FALLBACK_HANDLER: boolean;
|
|
6761
|
+
ENABLE_STANDARD_HANDLER: boolean;
|
|
6762
|
+
PC_KILLSWITCH: Partial<IPCKillSwitch>;
|
|
6750
6763
|
}
|
|
6751
6764
|
|
|
6752
6765
|
/**
|
|
@@ -7017,7 +7030,6 @@ export interface VideoEncoderConfig {
|
|
|
7017
7030
|
contentHint?: "text" | "motion" | "detail";
|
|
7018
7031
|
|
|
7019
7032
|
/**
|
|
7020
|
-
* @hidden for internal use only
|
|
7021
7033
|
* @brief The preferred codec for the video stream. The default value is `'auto'`, no preference. By default, the SDK will automatically match the best codec based on the current video resolution and device performance.
|
|
7022
7034
|
*/
|
|
7023
7035
|
preferCodecName?: VideoCodecType;
|