quickvo-sdk-js 0.4.9 → 0.5.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/dist/index.js +100 -76
- package/dist/index.umd.cjs +2 -2
- package/dist/room/RoomMedias.d.ts +1 -5
- package/dist/room/RoomPeer.d.ts +10 -0
- package/package.json +1 -1
|
@@ -61,16 +61,12 @@ export declare class RoomMedias extends RoomBase {
|
|
|
61
61
|
* @returns deviceId 设备ID
|
|
62
62
|
*/
|
|
63
63
|
getMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind) => string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* 替换发射器媒体流
|
|
66
|
-
*/
|
|
67
|
-
replaceSenderStream: (mediaTypes: K_mediaType[] | undefined, isReal: Boolean) => Promise<void>;
|
|
68
64
|
/**
|
|
69
65
|
* 设置正在使用的媒体设备
|
|
70
66
|
* @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
|
|
71
67
|
* @param deviceId 设备ID
|
|
72
68
|
*/
|
|
73
|
-
|
|
69
|
+
setDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
|
|
74
70
|
/**
|
|
75
71
|
* 设置音频输出设备
|
|
76
72
|
* @param deviceId 设备ID
|
package/dist/room/RoomPeer.d.ts
CHANGED
|
@@ -16,6 +16,16 @@ export declare class RoomPeer extends RoomUsers {
|
|
|
16
16
|
connectedResolveMap: Map<string, Function>;
|
|
17
17
|
constructor();
|
|
18
18
|
initPeer: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* 设置正在使用的媒体设备
|
|
21
|
+
* @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
|
|
22
|
+
* @param deviceId 设备ID
|
|
23
|
+
*/
|
|
24
|
+
setMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* 替换发射器媒体流
|
|
27
|
+
*/
|
|
28
|
+
replaceSenderStream: (mediaTypes: K_mediaType[] | undefined, isReal: Boolean) => Promise<void>;
|
|
19
29
|
/**
|
|
20
30
|
* 获取发射器轨道信息
|
|
21
31
|
*/
|