@byteplus/rtc 4.65.3 → 4.66.0

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
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v8.0.1
1
+ // Generated by dts-bundle-generator v8.1.2
2
2
 
3
3
  import { EventArgs, EventEmitter, EventNames, ValidEventTypes } from 'eventemitter3';
4
4
 
@@ -35,45 +35,11 @@ declare class VERTC implements IVERTC {
35
35
  commitInfo: string;
36
36
  downloadLog: (key?: string | undefined) => void;
37
37
  setLogConfig: ({ logLevel, LogfileSize, }: {
38
- logLevel?: "none" | "warning" | "error" | "info" | "trace" | undefined;
38
+ logLevel?: "none" | "error" | "warning" | "info" | "trace" | undefined;
39
39
  LogfileSize?: number | undefined;
40
40
  }) => void;
41
41
  }
42
- declare const Config: {
43
- VERSION: string;
44
- ICE_CONFIG_REQUEST_URLS_INTERNAL: string[];
45
- ICE_CONFIG_REQUEST_URLS: string[];
46
- EXPECTED_ADDR: string;
47
- LOG_SERVER_URL: string;
48
- CONFIG_REQUEST_DOMAINS: string[];
49
- DEVICE_ID: string;
50
- OVERSEA: boolean;
51
- PLATFORM: string;
52
- PRODUCT: string;
53
- FORCE_ENABLED_REPORT_CALLBACKS: string[];
54
- SKIP_WEB_AUDIO_IN_TRACK: boolean;
55
- AUDIO_STALL: boolean;
56
- VIDEO_STALL: boolean;
57
- VIDEO_STALL_100MS: boolean;
58
- STATS_SCALLBACK_SUPPORT: boolean;
59
- JOIN_ROOM_CONFIG: IJoinRoomConfig;
60
- SIGNAL_COMPRESSION: boolean;
61
- SIGNAL_CROP_JOINROOM: boolean;
62
- VIDEO_STALL_DATA: number;
63
- AUDIO_STALL_DATA: number;
64
- IOS_SAFARI_ORIENTATION: boolean;
65
- BLACK_FRAME_LIFETIME: number;
66
- FALLBACK_ENCODE_CODEC: string;
67
- SEI_TIME_OUT: number;
68
- SEI_COUNT_FPS: number;
69
- PRE_ICE: boolean;
70
- STATS_LOOP_INTERVAL: number;
71
- HIDDEN_STATS: boolean;
72
- UPLOAD_REMOTE_STATS: ExtendMediaType;
73
- SDK_CODEC_NEGOTIATION: boolean;
74
- AUDIO_CODEC: string;
75
- SKIP_SEI_FILTER: boolean;
76
- };
42
+ declare const Config: SetParamInterface;
77
43
  declare const _default: VERTC;
78
44
  declare enum AudioMixingError {
79
45
 
@@ -864,7 +830,9 @@ declare enum ErrorCode {
864
830
  /**
865
831
  * @brief Failed to subscribe to the WTN stream via [`startPlayWTN`](docs-104478#wtnstream-startplaywtn).
866
832
  */
867
- WTN_PLAY_FAILED = "WTN_PLAY_FAILED"
833
+ WTN_PLAY_FAILED = "WTN_PLAY_FAILED",
834
+ NOT_ALLOWED_IN_RTS_ROOM = "NOT_ALLOWED_IN_RTS_ROOM",
835
+ NOT_ALLOWED_IN_RESTRICTED_MODE = "NOT_ALLOWED_IN_RESTRICTED_MODE"
868
836
  }
869
837
  declare enum ExtendMediaType {
870
838
  NONE = 0
@@ -963,7 +931,7 @@ declare enum StreamMixingEventType {
963
931
  STOP_FAILED = 9
964
932
  }
965
933
  declare function getElectronScreenSources(type?: ScreenSourceType): Promise<ElectronDesktopCapturerSource[]>;
966
- declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig;
934
+ declare function getParameter(key: keyof typeof Config): string | number | boolean | string[] | IJoinRoomConfig | undefined;
967
935
  declare function setParameter<T extends SetParamKey>(key: T, value: (SetParamInterface & CoreSetParamterInterface)[T]): IJoinRoomConfig | undefined;
968
936
 
969
937
  /**
@@ -1510,6 +1478,24 @@ export declare enum RemoteUserPriority {
1510
1478
  HIGH = 200
1511
1479
  }
1512
1480
 
1481
+ /**
1482
+ * @brief Room mode.
1483
+ */
1484
+ export declare enum RoomMode {
1485
+
1486
+ /**
1487
+ * @brief Create both the RTC room and the RTS room.
1488
+ * Under this mode, [audio/video call](docs-69871) charges will still be applied even if a user enters the room and only utilizes RTS functionality, without using any audio or video functions. This is because billing starts as soon as a user enters the RTC room (at a minimum, pure audio charges will apply). For detailed billing rules, please refer to [Billing of Audio and Video Calls](docs-69871).
1489
+ */
1490
+ ROOM_MODE_RTC = 0,
1491
+
1492
+ /**
1493
+ * @brief Create only the RTS room.
1494
+ * In this mode, the following interfaces cannot be called: `setUserVisibility`、`setAudioSelectionConfig`、`publishStream`、`unpublishStream`、`subscribeStream`、`unsubscribeStream`、`pauseAllSubscribedStream`、`resumeAllSubscribedStream`、`startForwardStreamToRooms`、`updateForwardStreamToRooms`、`stopForwardStreamToRooms`、`pauseForwardStreamToAllRooms`、`resumeForwardStreamToAllRooms`、`publishScreen`、`unpublishScreen`、`subscribeScreen`、`unsubscribeScreen`、`startLiveTranscoding`、`updateLiveTranscoding`、`stopLiveTranscoding`、`sendSEIMessage`、`startSubtitle`、`stopSubtitle`、`updateSubtitleConfig`.
1495
+ */
1496
+ ROOM_MODE_RTS_ONLY = 1
1497
+ }
1498
+
1513
1499
  /**
1514
1500
  * @brief Room profile
1515
1501
  * While calling [joinRoom](docs-104478#joinroom) choose an appropriate room-profile option to meet the requirement of the scenario for media encoding algorithm, video profiles, and network configurations.
@@ -3063,10 +3049,9 @@ export interface IEngineEvents {
3063
3049
  [EngineEventsTypes.onLocalStreamStats]: (stats: LocalStreamStats) => void;
3064
3050
 
3065
3051
  /**
3052
+ * @deprecated since 4.65, use [onWTNRemoteVideoStats](docs-104479#wtnstreamevents-onwtnremotevideostats) and [onWTNRemoteAudioStats](docs-104479#wtnstreamevents-onwtnremoteaudiostats) instead.
3066
3053
  * @brief This 2 s periodical callback notifies information of the public stream after calling [startPlayPublicStream](docs-104478#startplaypublicstream).
3067
3054
  * @param stats
3068
- * @group WTN stream
3069
- * @order 20
3070
3055
  */
3071
3056
  [EngineEventsTypes.onPublicStreamStats]: (stats: PublicStreamStats) => void;
3072
3057
 
@@ -3375,7 +3360,7 @@ export interface IEngineEvents {
3375
3360
  * After calling [startPushPublicStream](docs-104478#startpushpublicstream), you will be informed of the result through this callback.
3376
3361
  * @param event
3377
3362
  * @group WTN stream
3378
- * @order 25
3363
+ * @order 8
3379
3364
  */
3380
3365
  [EngineEventsTypes.onPushPublicStreamResult]: (event: PublicStreamResultEvent) => void;
3381
3366
 
@@ -3638,13 +3623,13 @@ export interface IJoinRoomConfig {
3638
3623
  export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
3639
3624
 
3640
3625
  /**
3641
- * @brief Join the room.
3642
- * Call this method to join the room and make audio & video calls with other users in the room.
3626
+ * @brief Join an existing room or create a new room and join.
3627
+ * When calling this method, you need to specify the `roomId`. If a room corresponding to the specified roomId already exists, the SDK will directly join that room. If no room corresponds to the specified roomId, the SDK will automatically create a new room using that roomId and join it.
3643
3628
  * @param token Dynamic key. It is used for authentication and verification of users entering the room.
3644
3629
  * You need to bring Token to enter the room. When testing, you can use the console to generate temporary tokens. The official launch requires the use of the key SDK to generate and issue tokens at your server level. See [Use Token to complete authentication](docs-70121) for token validity and generation method.
3645
3630
  * Apps with different AppIDs are not interoperable.
3646
3631
  * Make sure that the AppID used to generate the Token is the same as the AppID used to create the engine, otherwise it will cause the join room to fail.
3647
- * @param roomId The Room ID. The string must conform to the regular expression: `[a-zA-Z0-9_@\-\.]{1,128}`.
3632
+ * @param roomId The ID of room you want to join or create. The string must conform to the regular expression: `[a-zA-Z0-9_@\-\.]{1,128}`.
3648
3633
  * @param userInfo User information.
3649
3634
  * @param roomConfig Room parameter configuration, set the room mode and whether to automatically publish or subscribe to the flow.
3650
3635
  * @return + `INVALID_TOKEN`: Failed to enter the room due to using an expired or invalid token.
@@ -4159,7 +4144,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4159
4144
  * The SEI PayLoadType must be `5` or `100`.
4160
4145
  * @param repeatCount Number of times a message is sent repeatedly. The SEI will be added to a consecutive `repeatCount+1` number of video frames starting from the current frame. The value range is `[0, min{30, %{video frame rate}×2}]`, and the recommended range is `[2,4]`.
4161
4146
  * @notes + **Compatibility**<br/>
4162
- * &ensp; - SEI messages only support H.264 encoding, and use on browsers with Chromium 86+.
4147
+ * &ensp; - SEI messages are only supported with H.264 encoding and are available only in browsers with Chromium 86+, Firefox 117+, or Safari 15.4+.
4163
4148
  * &ensp; - Android devices do not support sending SEI data in voice call scenarios.
4164
4149
  * &ensp; - SEI messages cannot be used on iOS devices.
4165
4150
  * + In voice call scenarios, you still need to publish and subscribe to video streams, instead of audio streams. The subsciber can enable automatic subscribing to video streams when entering the room, or call [subscribeStream](#subscribestream) with the media stream type `AUDIO_AND_VIDEO`.
@@ -4387,7 +4372,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4387
4372
  setAudioSourceType: (index: StreamIndex, audioSourceType: AudioSourceType) => Promise<void>;
4388
4373
 
4389
4374
  /**
4390
- * @brief Create an audio mixing manager object
4375
+ * @brief Creates an audio mixing manager object.
4391
4376
  * @return audio mixing manager object
4392
4377
  * @group Audio Mixing
4393
4378
  * @order 0
@@ -4395,13 +4380,23 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4395
4380
  getAudioMixingManager: () => IAudioMixingManager;
4396
4381
 
4397
4382
  /**
4398
- * @brief Creates a WTN stream manager object
4383
+ * @brief Creates a WTN stream manager object.
4399
4384
  * @return WTN stream manager object
4400
4385
  * @group WTN stream
4401
- * @order 0
4386
+ * @order 10
4402
4387
  */
4403
4388
  getWTNStreamManager: () => IWTNStream;
4404
4389
 
4390
+ /**
4391
+ * @brief > Available since v4.66.
4392
+ * Get the call ID. Call this method after joining a room.
4393
+ * After creating a room, a `callId` is generated to identify the call for this room.
4394
+ * @return The call ID (`callId`) of the room.
4395
+ * @group Room Management
4396
+ * @order 0
4397
+ */
4398
+ getCallId: () => string | undefined;
4399
+
4405
4400
  /**
4406
4401
  * @brief Configure the internal audio capture. Different browser has its own default settings.
4407
4402
  * @param config Configuration of the internal audio capture such as, disabling audio 3A processing. Refer to [MediaTrackConstraints](https://developer.mozilla.org/zh-CN/docs/Web/API/MediaTrackConstraints) for more details.
@@ -4587,7 +4582,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4587
4582
  startPushPublicStream: (publicStreamId: string, publicStreamParam: PublicStreamConfig) => Promise<void>;
4588
4583
 
4589
4584
  /**
4590
- * @brief Update the properties of the WTN stream published by the current user via [startPushPublicStream](104478#rtcengine-startpushpublicstream).
4585
+ * @brief Update the properties of the WTN stream published by the current user via [startPushPublicStream](docs-104478#rtcengine-startpushpublicstream).
4591
4586
  * @param publicStreamId The WTN stream's ID.
4592
4587
  * The WTN stream must be published by the current user.
4593
4588
  * @param publicStreamParam The WTN stream's parameters.
@@ -4598,7 +4593,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4598
4593
  updatePublicStreamParam: (publicStreamId: string, publicStreamParam: Partial<PublicStreamConfig>) => Promise<void>;
4599
4594
 
4600
4595
  /**
4601
- * @brief Stops publishing the WTN stream published by the current user via [startPushPublicStream](104478#rtcengine-startpushpublicstream).
4596
+ * @brief Stops publishing the WTN stream published by the current user via [startPushPublicStream](docs-104478#rtcengine-startpushpublicstream).
4602
4597
  * @param publicStreamId The WTN stream's ID.
4603
4598
  * The WTN stream must be published by the current user.
4604
4599
  * @return
@@ -4933,7 +4928,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
4933
4928
 
4934
4929
  /**
4935
4930
  * @deprecated since 4.65, use [setWTNRemoteAudioPlaybackVolume](docs-104478#wtnstream-setwtnremoteaudioplaybackvolume) instead.
4936
- * @brief Adjust audio playback volume of a WTN stream.
4931
+ * @brief Adjusts audio playback volume of a WTN stream.
4937
4932
  * @param publicStreamId The Id of a specified WTN stream.
4938
4933
  * @param volume The percentage of playback volume to the original volume in range of [0, 400]. The default value is 100%.
4939
4934
  * For better call quality, it is recommended to set the value in range of [0, 100].
@@ -5293,7 +5288,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5293
5288
  * + Call this API with different stream ID to publish multiple WTN streams.
5294
5289
  * + Call [stopPushWTN](#stopPushWTN) to stop publishing the WTN stream.
5295
5290
  * @group WTN stream
5296
- * @order 1
5291
+ * @order 11
5297
5292
  */
5298
5293
  startPushWTN: (token: string | null, streamId: string, videoMute: boolean, audioMute: boolean) => Promise<void>;
5299
5294
 
@@ -5305,7 +5300,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5305
5300
  * @return You will also receive the [onWTNPushStateChanged](docs-104479#wtnstreamevents-onwtnpushstatechanged) callback.
5306
5301
  * @notes To stop publishing a WTN stream initiated by [startPushPublicStream](docs-104478#rtcengine-startpushpublicstream), call [stopPushPublicStream](104478#rtcengine-stoppushpublicstream).
5307
5302
  * @group WTN stream
5308
- * @order 2
5303
+ * @order 12
5309
5304
  */
5310
5305
  stopPushWTN: (streamId: string) => Promise<void>;
5311
5306
 
@@ -5318,7 +5313,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5318
5313
  * - `false`: Include
5319
5314
  * @return You will also receive the [onWTNPushStateChanged](docs-104479#wtnstreamevents-onwtnpushstatechanged) callback.
5320
5315
  * @group WTN stream
5321
- * @order 4
5316
+ * @order 14
5322
5317
  */
5323
5318
  muteWTNLocalAudio: (streamId: string, mute: boolean) => Promise<void>;
5324
5319
 
@@ -5331,7 +5326,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5331
5326
  * - `false`: Include
5332
5327
  * @return You will also receive the [onWTNPushStateChanged](docs-104479#wtnstreamevents-onwtnpushstatechanged) callback.
5333
5328
  * @group WTN stream
5334
- * @order 3
5329
+ * @order 13
5335
5330
  */
5336
5331
  muteWTNLocalVideo: (streamId: string, mute: boolean) => Promise<void>;
5337
5332
 
@@ -5348,7 +5343,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5348
5343
  * - After the message is successfully sent, the remote will receive the [onWTNSEIMessageReceived](docs-104479#wtnstreamevents-onwtnseimessagereceived) callback.
5349
5344
  * - If the call fails, neither the local nor the remote will receive the callback.
5350
5345
  * @group WTN stream
5351
- * @order 7
5346
+ * @order 37
5352
5347
  */
5353
5348
  sendWTNSEIMessage: (streamId: string, sei: Uint8Array, repeatCount: number) => void;
5354
5349
 
@@ -5356,7 +5351,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5356
5351
  * @valid since 4.65
5357
5352
  * @brief Subscribes to a designated WTN stream.
5358
5353
  * You can call this API to subscribe to a WTN stream whether you joined the room or not.
5359
- * @param token Dynamic key. It is used for authentication and verification of users publishing a WTN stream.
5354
+ * @param token Dynamic key. It is used for authentication and verification of users subscribing to a WTN stream.
5360
5355
  * When testing, you can use the console to generate temporary tokens. The official launch requires the use of the key SDK to generate and issue tokens at your server level. See [Use Token to complete authentication](docs-70121) for token validity and generation method.
5361
5356
  * Apps with different AppIDs are not interoperable.
5362
5357
  * Make sure that the AppID used to generate the Token is the same as the AppID used to create the engine, otherwise it will fail.
@@ -5370,7 +5365,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5370
5365
  * + If the WTN stream contains SEI message, you will receive the message by be informed through [onPublicStreamSEIMessageReceived](docs-104479#onpublicstreamseimessagereceived).
5371
5366
  * + Call [stopPlayPublicStream](#stopplaypublicstream) to unsubscribing from the WTN stream.
5372
5367
  * @group WTN stream
5373
- * @order 10
5368
+ * @order 20
5374
5369
  */
5375
5370
  startPlayWTN: (token: string | null, streamId: string, videoMute: boolean, audioMute: boolean) => Promise<void>;
5376
5371
 
@@ -5381,7 +5376,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5381
5376
  * @return
5382
5377
  * @notes Call [startPlayPublicStream](#startplaypublicstream) to subscribe to the WTN stream.
5383
5378
  * @group WTN stream
5384
- * @order 12
5379
+ * @order 22
5385
5380
  */
5386
5381
  stopPlayWTN: (streamId: string) => Promise<void>;
5387
5382
 
@@ -5394,7 +5389,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5394
5389
  * - `false`: Include
5395
5390
  * @return
5396
5391
  * @group WTN stream
5397
- * @order 13
5392
+ * @order 23
5398
5393
  */
5399
5394
  muteWTNRemoteAudio: (streamId: string, mute: boolean) => Promise<void>;
5400
5395
 
@@ -5408,7 +5403,7 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5408
5403
  * @return
5409
5404
  * @notes You can use this method to pause/resume the audio of a WTN stream after you have subscribed to the WTN stream via [startPlayWTN](#startplaywtn).
5410
5405
  * @group WTN stream
5411
- * @order 13
5406
+ * @order 24
5412
5407
  */
5413
5408
  muteWTNRemoteVideo: (streamId: string, mute: boolean) => Promise<void>;
5414
5409
 
@@ -5417,21 +5412,22 @@ export interface IWTNStream extends EnhancedEventEmitter<IWTNStreamEvents> {
5417
5412
  * @brief Sets the player information and rendering mode for the WTN stream.
5418
5413
  * @param streamId The WTN stream's ID.
5419
5414
  * @param videoPlayerOption Player information and rendering mode.
5415
+ * @return Refer to [HTMLVideoElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement).
5420
5416
  * @group WTN stream
5421
- * @order 9
5417
+ * @order 25
5422
5418
  */
5423
5419
  setWTNRemoteVideoPlayer: (streamId: string, videoPlayerOption: Omit<VideoPlayerOption, "userId" | "playerId">) => HTMLVideoElement | undefined;
5424
5420
 
5425
5421
  /**
5426
5422
  * @valid since 4.65.
5427
- * @brief Adjust audio playback volume of a WTN stream.
5423
+ * @brief Adjusts audio playback volume of a WTN stream.
5428
5424
  * @param streamId The Id of a specified WTN stream.
5429
5425
  * @param volume The percentage of playback volume to the original volume in range of [0, 400]. The default value is 100%.
5430
5426
  * For better call quality, it is recommended to set the value in range of [0, 100].
5431
5427
  * @notes + It is recommended to set the playback volume after the playing has started.
5432
5428
  * + If the playing has not yet started when you call this API, the setting will take effect after it starts.
5433
5429
  * @group WTN stream
5434
- * @order 20
5430
+ * @order 26
5435
5431
  */
5436
5432
  setWTNRemoteAudioPlaybackVolume: (streamId: string, volume: number) => void;
5437
5433
  }
@@ -5448,7 +5444,7 @@ export interface IWTNStreamEvents {
5448
5444
  * After calling [startPushWTN](docs-104478#wtnstream-startpushwtn), you will be informed of the result through this callback.
5449
5445
  * @param event
5450
5446
  * @group WTN stream
5451
- * @order 26
5447
+ * @order 16
5452
5448
  */
5453
5449
  [WTNStreamEventsTypes.onWTNPushStateChanged]: (event: onWTNPushStateChangedEvent) => void;
5454
5450
 
@@ -5457,7 +5453,7 @@ export interface IWTNStreamEvents {
5457
5453
  * After calling [startPlayWTN](docs-104478#wtnstream-startplaywtn), you will be informed of the result through this callback.
5458
5454
  * @param event
5459
5455
  * @group WTN stream
5460
- * @order 26
5456
+ * @order 29
5461
5457
  */
5462
5458
  [WTNStreamEventsTypes.onWTNPlayStateChanged]: (event: onWTNPlayStateChangedEvent) => void;
5463
5459
 
@@ -5484,7 +5480,7 @@ export interface IWTNStreamEvents {
5484
5480
  * You can receive this callback every 2 seconds after subscribing to the video of a WTN stream via [startPlayWTN](docs-104478#wtnstream-startplaywtn).
5485
5481
  * @param event
5486
5482
  * @group WTN stream
5487
- * @order 30
5483
+ * @order 33
5488
5484
  */
5489
5485
  [WTNStreamEventsTypes.onWTNRemoteVideoStats]: (event: onWTNRemoteVideoStatsEvent) => void;
5490
5486
 
@@ -6610,6 +6606,11 @@ export interface RoomConfig {
6610
6606
  * @brief Expected configuration of remote video stream.
6611
6607
  */
6612
6608
  remoteVideoConfig?: RemoteVideoConfig;
6609
+
6610
+ /**
6611
+ * @brief Room creation mode. Supports creating both RTC and RTS rooms (default) or only RTS rooms.
6612
+ */
6613
+ roomMode?: RoomMode;
6613
6614
  }
6614
6615
 
6615
6616
  /**
@@ -6722,7 +6723,7 @@ export interface SetParamInterface {
6722
6723
  VIDEO_STALL_100MS: boolean;
6723
6724
  STATS_SCALLBACK_SUPPORT: boolean;
6724
6725
  JOIN_ROOM_CONFIG: IJoinRoomConfig;
6725
- ENABLE_REPORT_IDB_BUFFER: boolean;
6726
+ ENABLE_REPORT_IDB_BUFFER?: boolean;
6726
6727
  SIGNAL_COMPRESSION: boolean;
6727
6728
  SIGNAL_CROP_JOINROOM: boolean;
6728
6729
  VIDEO_STALL_DATA: number;
@@ -6736,14 +6737,16 @@ export interface SetParamInterface {
6736
6737
  PRE_ICE: boolean;
6737
6738
  STATS_LOOP_INTERVAL: number;
6738
6739
  HIDDEN_STATS: boolean;
6739
- UPLOAD_REMOTE_STATS: string | ExtendMediaType;
6740
+ UPLOAD_REMOTE_STATS: string | SubMediaType;
6740
6741
  SDK_CODEC_NEGOTIATION: boolean;
6741
- AINR_CACHE_TIME: number;
6742
- AINR_DUMP_TIME: number;
6743
- AINR_ENABLE_DUMP: boolean;
6744
- AINR_OVERLOAD_THRESHOLD: number;
6745
- AINR_URLS: string;
6742
+ AINR_CACHE_TIME?: number;
6743
+ AINR_DUMP_TIME?: number;
6744
+ AINR_ENABLE_DUMP?: boolean;
6745
+ AINR_OVERLOAD_THRESHOLD?: number;
6746
+ AINR_URLS?: string;
6747
+ MEDIA_PROCESSING_TYPE?: number;
6746
6748
  AUDIO_CODEC: string;
6749
+ DISABLE_ENCODED_TRANSFORM: boolean;
6747
6750
  SKIP_SEI_FILTER: boolean;
6748
6751
  }
6749
6752
 
@@ -7559,6 +7562,7 @@ onVideoFirstFrameDecodedEvent, "userId"> & {
7559
7562
  */
7560
7563
  export type ScreenSourceType = "screen" | "window";
7561
7564
  export type SetParamKey = keyof (SetParamInterface & CoreSetParamterInterface);
7565
+ export type SubMediaType = ExtendMediaType | MediaType;
7562
7566
 
7563
7567
  /**
7564
7568
  * @brief Internal capture configuration for video & audio. Refer to [browser documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints) for more details.