@byteplus/rtc 4.58.18 → 4.58.19

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
@@ -62,6 +62,8 @@ declare const Config: {
62
62
  IOS_SAFARI_ORIENTATION: boolean;
63
63
  FALLBACK_ENCODE_CODEC: string;
64
64
  ENABLE_FALLBACK_HANDLER: boolean;
65
+ ENABLE_STANDARD_HANDLER: boolean;
66
+ PC_KILLSWITCH: {};
65
67
  };
66
68
  declare const _default: VERTC;
67
69
  declare enum AudioMixingError {
@@ -885,7 +887,7 @@ declare enum StreamMixingEventType {
885
887
  */
886
888
  STOP_FAILED = 9
887
889
  }
888
- declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig;
890
+ declare function getParameter(key: keyof typeof Config): {};
889
891
  declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
890
892
 
891
893
  /**
@@ -2929,6 +2931,15 @@ export interface IJoinRoomConfig {
2929
2931
  joinWithTcpOnly: boolean;
2930
2932
  joinWithTcpOnlyDelay: number;
2931
2933
  }
2934
+ export interface IPCKillSwitch {
2935
+ ctor_sdpsemantics_add: boolean;
2936
+ ctor_encodedinsetablestream_add: boolean;
2937
+ sld_rtcpfb_rrtr_add: boolean;
2938
+ sld_ext_sdesmid_remove: boolean;
2939
+ sld_fmtp_sps_add: boolean;
2940
+ sld_fmtp_bitrate_add: boolean;
2941
+ sld_fmtp_opus_add: boolean;
2942
+ }
2932
2943
 
2933
2944
  /**
2934
2945
  * @id RTCEngine
@@ -5331,6 +5342,8 @@ export interface SetParamInterface {
5331
5342
  AUDIO_STALL_DATA: number;
5332
5343
  FALLBACK_ENCODE_CODEC: string;
5333
5344
  ENABLE_FALLBACK_HANDLER: boolean;
5345
+ ENABLE_STANDARD_HANDLER: boolean;
5346
+ PC_KILLSWITCH: Partial<IPCKillSwitch>;
5334
5347
  }
5335
5348
 
5336
5349
  /**