quickvo-sdk-js 0.5.6 → 0.5.8
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 +16 -2
- package/dist/index.js +118 -103
- package/dist/index.umd.cjs +1 -1
- package/dist/room/Room.d.ts +2 -1
- package/dist/room/RoomBase.d.ts +2 -5
- package/dist/room/RoomCalls.d.ts +14 -5
- package/dist/room/RoomMedias.d.ts +2 -2
- package/dist/room/RoomPeer.d.ts +2 -2
- package/dist/room/RoomUsers.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -279,10 +279,10 @@ quickvo.addNotify({
|
|
|
279
279
|
* 设置本地流
|
|
280
280
|
* @param mediaType MediaType
|
|
281
281
|
* @param active 激活状态
|
|
282
|
-
* @example quickvo.setLocalStream('microphoneCamera_audio', false)
|
|
282
|
+
* @example quickvo.setLocalStream(['microphoneCamera_audio'], false)
|
|
283
283
|
* @returns Promise<Streams>
|
|
284
284
|
*/
|
|
285
|
-
quickvo.setLocalStream('microphoneCamera_audio', true).then((streams) => {
|
|
285
|
+
quickvo.setLocalStream(['microphoneCamera_audio'], true).then((streams) => {
|
|
286
286
|
// 因考虑到易用性(与 onLocalStream 保持一致) 这里会返回所有本地流对象
|
|
287
287
|
const stream = streams['microphoneCamera_audio']
|
|
288
288
|
// 拿到所需要的 stream 然后进行渲染 (这里以原生js使用方式作为参考)
|
|
@@ -409,6 +409,20 @@ quickvo.quitRoom()
|
|
|
409
409
|
|
|
410
410
|
### 版本迭代说明
|
|
411
411
|
|
|
412
|
+
- 版本:0.5.8 (2025-05-30)
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
优化SDK内部连接建立机制,优化媒体设备切换逻辑和错误,新增 QuickVO.changeScreenSharing()方法 (用于切换共享屏幕流)
|
|
416
|
+
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
- 版本:0.4.0 (2025-05-24)
|
|
420
|
+
|
|
421
|
+
```
|
|
422
|
+
新版本支持 预连接 模式,使用预连接可以极大的缩短进入房间后发布流的时间,更快的接通会话。详情查阅 预连接专栏。
|
|
423
|
+
|
|
424
|
+
```
|
|
425
|
+
|
|
412
426
|
- 版本:0.2.3 (2025-03-28)
|
|
413
427
|
|
|
414
428
|
```
|