@byteplus/rtc 4.67.0 → 4.67.1

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
@@ -1027,7 +1027,7 @@ declare enum StreamMixingEventType {
1027
1027
  STOP_FAILED = 9
1028
1028
  }
1029
1029
  declare function getElectronScreenSources(type?: ScreenSourceType): Promise<ElectronDesktopCapturerSource[]>;
1030
- declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig | Partial<IPCKillSwitch> | undefined;
1030
+ declare function getParameter(key: keyof typeof Config): {} | undefined;
1031
1031
  declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
1032
1032
 
1033
1033
  /**
@@ -1889,10 +1889,11 @@ export declare enum VideoCodecType {
1889
1889
  * @brief VP8
1890
1890
  */
1891
1891
  VP8 = "vp8",
1892
- /**
1893
- * @hidden
1892
+
1893
+ /**
1894
+ * @brief H265
1894
1895
  */
1895
- ByteVC1 = "ByteVC1"
1896
+ H265 = "h265"
1896
1897
  }
1897
1898
 
1898
1899
  /**
@@ -3774,6 +3775,7 @@ export interface IPCKillSwitch {
3774
3775
  sld_fmtp_sps_add: boolean;
3775
3776
  sld_fmtp_bitrate_add: boolean;
3776
3777
  sld_fmtp_opus_add: boolean;
3778
+ sld_iceoption_renomination: boolean;
3777
3779
  }
3778
3780
 
3779
3781
  /**
@@ -7048,6 +7050,8 @@ export interface SetParamInterface {
7048
7050
  ENABLE_STANDARD_HANDLER: boolean;
7049
7051
  ENABLE_PLAY_AFTER_CLICK: boolean;
7050
7052
  PC_KILLSWITCH: Partial<IPCKillSwitch>;
7053
+ AUTOPLAY_WORKAROUND: boolean;
7054
+ ENGINE_WEB_CONFIG: {};
7051
7055
  }
7052
7056
 
7053
7057
  /**
@@ -7318,7 +7322,6 @@ export interface VideoEncoderConfig {
7318
7322
  contentHint?: "text" | "motion" | "detail";
7319
7323
 
7320
7324
  /**
7321
- * @hidden for internal use only
7322
7325
  * @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.
7323
7326
  */
7324
7327
  preferCodecName?: VideoCodecType;