@byteplus/rtc 4.66.13 → 4.66.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 +12 -1
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -931,7 +931,7 @@ declare enum StreamMixingEventType {
|
|
|
931
931
|
STOP_FAILED = 9
|
|
932
932
|
}
|
|
933
933
|
declare function getElectronScreenSources(type?: ScreenSourceType): Promise<ElectronDesktopCapturerSource[]>;
|
|
934
|
-
declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig | undefined;
|
|
934
|
+
declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig | Partial<IPCKillSwitch> | undefined;
|
|
935
935
|
declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
|
|
936
936
|
|
|
937
937
|
/**
|
|
@@ -3618,6 +3618,15 @@ export interface IJoinRoomConfig {
|
|
|
3618
3618
|
joinWithTcpOnly: boolean;
|
|
3619
3619
|
joinWithTcpOnlyDelay: number;
|
|
3620
3620
|
}
|
|
3621
|
+
export interface IPCKillSwitch {
|
|
3622
|
+
ctor_sdpsemantics_add: boolean;
|
|
3623
|
+
ctor_encodedinsetablestream_add: boolean;
|
|
3624
|
+
sld_rtcpfb_rrtr_add: boolean;
|
|
3625
|
+
sld_ext_sdesmid_remove: boolean;
|
|
3626
|
+
sld_fmtp_sps_add: boolean;
|
|
3627
|
+
sld_fmtp_bitrate_add: boolean;
|
|
3628
|
+
sld_fmtp_opus_add: boolean;
|
|
3629
|
+
}
|
|
3621
3630
|
|
|
3622
3631
|
/**
|
|
3623
3632
|
* @id RTCEngine
|
|
@@ -6759,7 +6768,9 @@ export interface SetParamInterface {
|
|
|
6759
6768
|
H264_HW_ENCODER: boolean;
|
|
6760
6769
|
GPU_URL: string;
|
|
6761
6770
|
ENABLE_FALLBACK_HANDLER: boolean;
|
|
6771
|
+
ENABLE_STANDARD_HANDLER: boolean;
|
|
6762
6772
|
ENABLE_PLAY_AFTER_CLICK: boolean;
|
|
6773
|
+
PC_KILLSWITCH: Partial<IPCKillSwitch>;
|
|
6763
6774
|
}
|
|
6764
6775
|
|
|
6765
6776
|
/**
|