@byteplus/rtc 4.56.17 → 4.56.18

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
@@ -783,6 +783,15 @@ export interface IJoinRoomConfig {
783
783
  joinWithTcpOnly: boolean;
784
784
  joinWithTcpOnlyDelay: number;
785
785
  }
786
+ export interface IPCKillSwitch {
787
+ ctor_sdpsemantics_add: boolean;
788
+ ctor_encodedinsetablestream_add: boolean;
789
+ sld_rtcpfb_rrtr_add: boolean;
790
+ sld_ext_sdesmid_remove: boolean;
791
+ sld_fmtp_sps_add: boolean;
792
+ sld_fmtp_bitrate_add: boolean;
793
+ sld_fmtp_opus_add: boolean;
794
+ }
786
795
  export declare type RTCExtension = any;
787
796
  declare enum StreamMixingEventType {
788
797
 
@@ -5594,6 +5603,8 @@ export interface SetParamInterface {
5594
5603
  SIGNAL_COMPRESSION: boolean;
5595
5604
  SIGNAL_CROP_JOINROOM: boolean;
5596
5605
  ENABLE_FALLBACK_HANDLER: boolean;
5606
+ ENABLE_STANDARD_HANDLER: boolean;
5607
+ PC_KILLSWITCH: Partial<IPCKillSwitch>;
5597
5608
  }
5598
5609
  export declare type SetParamKey = keyof (SetParamInterface & CoreSetParamterInterface);
5599
5610
  declare const Config: {
@@ -5617,9 +5628,11 @@ declare const Config: {
5617
5628
  SIGNAL_CROP_JOINROOM: boolean;
5618
5629
  IOS_SAFARI_ORIENTATION: boolean;
5619
5630
  ENABLE_FALLBACK_HANDLER: boolean;
5631
+ ENABLE_STANDARD_HANDLER: boolean;
5632
+ PC_KILLSWITCH: {};
5620
5633
  };
5621
5634
  declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
5622
- declare function getParameter(key: keyof typeof Config): string | boolean | string[] | IJoinRoomConfig;
5635
+ declare function getParameter(key: keyof typeof Config): {};
5623
5636
 
5624
5637
  /**
5625
5638
  * @id BytePlusRTC