@tencentcloud/tuiroom-engine-js 3.6.4 → 4.0.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.cjs.js +2 -2
- package/index.d.ts +5 -5
- package/index.esm.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -85,7 +85,8 @@ declare enum TUIErrorCode {
|
|
|
85
85
|
ERR_GIFT_SERVER_PRE_VERIFICATION_FAILED = 102004,
|
|
86
86
|
ERR_MIX_STREAM_UPDATE_TOO_FREQ = 100427,
|
|
87
87
|
ERR_PUBLISH_STREAM_INFO_NOT_EXISTED = 100430,
|
|
88
|
-
ERR_PUBLISH_STREAM_NO_NEED_RECOVERY = 100431
|
|
88
|
+
ERR_PUBLISH_STREAM_NO_NEED_RECOVERY = 100431,
|
|
89
|
+
ERR_ADMIN_COUNT_LIMIT = 100020
|
|
89
90
|
}
|
|
90
91
|
type TUIRoomInfo = {
|
|
91
92
|
roomId: string;
|
|
@@ -892,7 +893,7 @@ declare enum TUIRoomEvents {
|
|
|
892
893
|
/**
|
|
893
894
|
* @description RoomStore 房间事件
|
|
894
895
|
*/
|
|
895
|
-
onCall = "
|
|
896
|
+
onCall = "on"
|
|
896
897
|
}
|
|
897
898
|
declare enum TUIRoomDeviceMangerEvents {
|
|
898
899
|
/**
|
|
@@ -3289,8 +3290,7 @@ declare class TUIRoomStoreManager {
|
|
|
3289
3290
|
roomEngine: TUIRoomEngine;
|
|
3290
3291
|
});
|
|
3291
3292
|
private setupRoomEngineEvents;
|
|
3292
|
-
call(apiName: string, params
|
|
3293
|
-
get(apiName: string, params?: any): Promise<unknown>;
|
|
3293
|
+
call(apiName: string, params?: any): Promise<unknown>;
|
|
3294
3294
|
query(apiName: string, params: any): any;
|
|
3295
3295
|
on(event: string, func: (...args: any[]) => void): void;
|
|
3296
3296
|
off(event: string, func: (...args: any[]) => void): void;
|
|
@@ -3804,7 +3804,7 @@ declare class TUIRoomEngine {
|
|
|
3804
3804
|
* videoResolution: TUIVideoQuality.kVideoQuality_720p,
|
|
3805
3805
|
* fps: 15,
|
|
3806
3806
|
* bitrate: 2000,
|
|
3807
|
-
*
|
|
3807
|
+
* resolutionMode: TUIResolutionMode.kResolutionMode_Landscape,
|
|
3808
3808
|
* }
|
|
3809
3809
|
* });
|
|
3810
3810
|
*/
|