quickvo-sdk-js 0.1.9 → 0.2.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/README.md +2 -2
- package/dist/enums/notifyName.d.ts +3 -3
- package/dist/index.js +7139 -7105
- package/dist/index.umd.cjs +2 -2
- package/dist/room/MediaStreams.d.ts +16 -5
- package/dist/room/RoomBase.d.ts +2 -2
- package/dist/room/RoomPeer.d.ts +2 -2
- package/dist/room/RoomUsers.d.ts +31 -2
- package/package.json +43 -43
- package/dist/room/RoomAudio.d.ts +0 -34
package/README.md
CHANGED
|
@@ -294,10 +294,10 @@ quickvo.setLocalStream('microphoneCamera_audio', true).then((streams) => {
|
|
|
294
294
|
/**
|
|
295
295
|
* 加入房间
|
|
296
296
|
* @param roomOptions RoomOptions
|
|
297
|
-
* @example quickvo.joinRoom({ userId: '', roomId: '', sdkToken: '', callType: '1' })
|
|
297
|
+
* @example quickvo.joinRoom({ userId: '', roomId: '', sdkToken: '', callType: '1', newPublishAutoSubscribe: true })
|
|
298
298
|
* @returns Promise<boolean>
|
|
299
299
|
*/
|
|
300
|
-
const options: RoomOptions = { userId: '', roomId: '', sdkToken: '', callType: '1' }
|
|
300
|
+
const options: RoomOptions = { userId: '', roomId: '', sdkToken: '', callType: '1', newPublishAutoSubscribe: true }
|
|
301
301
|
quickvo.joinRoom(options)
|
|
302
302
|
```
|
|
303
303
|
|
|
@@ -15,8 +15,8 @@ export declare const enum_notifyName: {
|
|
|
15
15
|
readonly onUpdatePermissions: "更新推流权限通知";
|
|
16
16
|
readonly onTokenExpired: "Token已过期";
|
|
17
17
|
readonly onDestroyRoom: "直播模式房间销毁";
|
|
18
|
-
readonly destroyRoom: "
|
|
19
|
-
readonly onDestroy: "销毁";
|
|
18
|
+
readonly destroyRoom: "服务器要求销毁房间";
|
|
19
|
+
readonly onDestroy: "SDK销毁";
|
|
20
20
|
};
|
|
21
21
|
export type T_notifyName = typeof enum_notifyName;
|
|
22
22
|
export type K_notifyName = keyof T_notifyName;
|
|
@@ -26,4 +26,4 @@ export declare const notifyName_options: {
|
|
|
26
26
|
label: any;
|
|
27
27
|
}[];
|
|
28
28
|
export declare const notifyName_keys: (keyof typeof enum_notifyName)[];
|
|
29
|
-
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "房间网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "更新本地媒体流" | "房间用户变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "更新通讯状态" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "
|
|
29
|
+
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "房间网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "更新本地媒体流" | "房间用户变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "更新通讯状态" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "服务器要求销毁房间" | "SDK销毁")[];
|