quickvo-sdk-js 0.5.6 → 0.5.7
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/dist/index.js +24 -10
- package/dist/index.umd.cjs +1 -1
- package/dist/room/RoomCalls.d.ts +7 -1
- package/package.json +1 -1
package/dist/room/RoomCalls.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export declare class RoomCalls extends RoomPeer {
|
|
|
19
19
|
* @param deviceId 设备ID
|
|
20
20
|
*/
|
|
21
21
|
setMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* 设置正在使用的媒体设备
|
|
24
|
+
* @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
|
|
25
|
+
* @param deviceId 设备ID
|
|
26
|
+
*/
|
|
27
|
+
changeScreenSharing: (mediaTypes: ("screenSharing_video" | "screenSharing_audio")[]) => Promise<void>;
|
|
22
28
|
/**
|
|
23
29
|
* 添加广播事件
|
|
24
30
|
* @param notify Notify
|
|
@@ -107,5 +113,5 @@ export declare class RoomCalls extends RoomPeer {
|
|
|
107
113
|
/**
|
|
108
114
|
* 提前建连
|
|
109
115
|
*/
|
|
110
|
-
earlyConnect: () => void;
|
|
116
|
+
earlyConnect: (mediaTypes?: K_mediaType[]) => void;
|
|
111
117
|
}
|