@tencentcloud/tuiroom-engine-electron 2.4.0-alpha.3 → 2.4.0-alpha.4

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
@@ -32,6 +32,7 @@ declare enum TUIErrorCode {
32
32
  ERR_ROOM_ID_OCCUPIED = -2106,
33
33
  ERR_ROOM_NAME_INVALID = -2107,
34
34
  ERR_ALREADY_IN_OTHER_ROOM = -2108,
35
+ ERR_ROOM_USER_FULL = -2111,
35
36
  ERR_USER_NOT_EXIST = -2200,
36
37
  ERR_USER_NOT_ENTERED = -2201,
37
38
  ERR_NEED_OWNER_PERMISSION = -2300,
@@ -69,6 +70,9 @@ type TUIRoomInfo = {
69
70
  isMessageDisableForAllUser: boolean;
70
71
  maxSeatCount: number;
71
72
  roomOwner: string;
73
+ ownerId: string;
74
+ ownerName: string;
75
+ ownerAvatarUrl: string;
72
76
  createTime: number;
73
77
  roomMemberCount: number;
74
78
  };
@@ -1925,7 +1929,7 @@ declare class TUIVideoEffectPlugin {
1925
1929
  * videoEffectPluginManager.setVideoPluginFormat(TUIVideoPixelFormat.kVideoPixelFormat_I420);
1926
1930
  *
1927
1931
  * videoEffectPluginManager.setCallback((pluginId: string, errorCode: number, errorMessage: string) => {
1928
- * console.log(`plugin event - pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
1932
+ * console.log(`plugin event - pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
1929
1933
  * });
1930
1934
  *
1931
1935
  * const pluginId = `${cameraId}-${new Date().getTime()}`; // ID 可以随意设置,只要唯一、不重复就行
@@ -1988,7 +1992,7 @@ declare class TUIVideoEffectPluginManager {
1988
1992
  * videoEffectPluginManager.setVideoPluginFormat(TUIVideoPixelFormat.kVideoPixelFormat_I420);
1989
1993
  *
1990
1994
  * videoEffectPluginManager.setCallback((pluginId: string, errorCode: number, errorMessage: string) => {
1991
- * console.log(`plugin event, pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
1995
+ * console.log(`plugin event - pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
1992
1996
  * });
1993
1997
  *
1994
1998
  * const pluginId = `${cameraId}-${new Date().getTime()}`; // ID 可以随意设置,只要唯一、不重复就行
@@ -2054,7 +2058,7 @@ declare class TUIVideoEffectPluginManager {
2054
2058
  * const videoEffectPluginManager: TUIVideoEffectPluginManager = TUIRoomEngine.getVideoEffectPluginManager();
2055
2059
  *
2056
2060
  * videoEffectPluginManager.setCallback((pluginId: string, errorCode: number, errorMessage: string) => {
2057
- * console.log(`plugin event, pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
2061
+ * console.log(`plugin event - pluginId : ${pluginId}, errorCode : ${errorCode}, errorMessage : ${errorMessage}`);
2058
2062
  * });
2059
2063
  */
2060
2064
  setCallback(callback: (pluginId: string, errorCode: number, errorMessage: string) => void): void;