@byteplus/rtc 4.61.1 → 4.61.3

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
@@ -66,6 +66,7 @@ declare const Config: {
66
66
  SEI_TIME_OUT: number;
67
67
  SEI_COUNT_FPS: number;
68
68
  PRE_ICE: boolean;
69
+ UPLOAD_REMOTE_STATS: ExtendMediaType;
69
70
  };
70
71
  declare const _default: VERTC;
71
72
  declare enum AudioMixingError {
@@ -826,6 +827,9 @@ declare enum ErrorCode {
826
827
  */
827
828
  USER_FORBIDDEN = "USER_FORBIDDEN"
828
829
  }
830
+ declare enum ExtendMediaType {
831
+ NONE = 0
832
+ }
829
833
  declare enum SEIStreamEventType {
830
834
 
831
835
  /**
@@ -3669,9 +3673,8 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
3669
3673
  * @brief Starts pushing media streams to CDN and sets the relevant configurations.
3670
3674
  * @param transcode Configurations to be set when pushing media streams to CDN.
3671
3675
  * @return
3672
- * @notes + Before calling this API,you need to enable Push to CDN on the [console](https://console.byteplus.com/rtc/workplaceRTC).
3673
- * + After calling this API, you will receive the pushing a mixed stream to CDN events via [onStreamMixingEvent](docs-104479#onstreammixingevent).
3674
- * + If you have subscribed to the push-to-CDN server callback in the [console](https://console.byteplus.com/rtc/cloudRTC?tab=callback), calling this API will receive a [TranscodeStarted](https://docs.byteplus.com/en/docs/byteplus-rtc/docs-75125#transcodestarted) server callback notification. When calling this API repeatedly, subsequent calls to this API will trigger both [TranscodeStarted](https://docs.byteplus.com/en/docs/byteplus-rtc/docs-75125#transcodestarted) and [TranscodeUpdated](https://docs.byteplus.com/en/docs/byteplus-rtc/docs-75125#transcodeupdated) callbacks.
3676
+ * @notes + After calling this API, you will receive the pushing a mixed stream to CDN events via [onStreamMixingEvent](104479#onstreammixingevent).
3677
+ * + If you have subscribed to the push-to-CDN server callback in the [console](https://console.byteplus.com/rtc/cloudRTC?tab=callback), calling this API will receive a [TranscodeStarted](https://docs.byteplus.com/en/byteplus-rtc/docs/75125#transcodestarted) server callback notification. When calling this API repeatedly, subsequent calls to this API will trigger both [TranscodeStarted](https://docs.byteplus.com/en/byteplus-rtc/docs/75125#transcodestarted) and [TranscodeUpdated](https://docs.byteplus.com/en/byteplus-rtc/docs/75125#transcodeupdated) callbacks.
3675
3678
  * + Call [stopLiveTranscoding](#stoplivetranscoding) to stop pushing mixed streams to CDN.
3676
3679
  * @group Push to CDN
3677
3680
  * @order 5
@@ -5698,6 +5701,7 @@ export interface SetParamInterface {
5698
5701
  SEI_COUNT_FPS: number;
5699
5702
  /** 是否开启提前建连 */
5700
5703
  PRE_ICE: boolean;
5704
+ UPLOAD_REMOTE_STATS: string;
5701
5705
  }
5702
5706
 
5703
5707
  /**