@besovideo/webrtc-player 0.8.28 → 0.8.30
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 +1 -0
- package/dist/main.es.js +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,7 @@ instance.setPuOption({
|
|
|
94
94
|
});
|
|
95
95
|
// setApiPrefix 更改请求时的url前缀
|
|
96
96
|
instance.setApiPrefix("/测试改前缀");
|
|
97
|
+
// open 的可选参数muted如果为undefined, 是否静音将使用之前的状态
|
|
97
98
|
// open 异步 先关闭再开始建立连接 (可选参数: muted:boolean = false 是否静音打开,可选参数: protocol = type 选择协议(type = "auto" | "webrtc" | "ws-bvrtc") 不填默认为auto)
|
|
98
99
|
instance.open();
|
|
99
100
|
// close 异步 释放dialog 并关闭 当前的 peer connection
|