@byteplus/rtc 4.65.13 → 4.65.14

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/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): string | number | boolean | string[] | IJoinRoomConfig;
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
  /**