@besovideo/webrtc-player 0.8.48 → 0.8.49

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -54,6 +54,8 @@ const { instance } = PuPlayer({
54
54
  // 启用视频
55
55
  video: true,
56
56
  },
57
+ // (可选) 传输协议
58
+ type: "webrtc" | "ws-bvrtc" | "auto";
57
59
  // (可选) 是否静音
58
60
  muted: false,
59
61
  // (可选) 指定video如何适应容器 (fill: 填充容器 ; contain :保持视频比例适应容器)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@besovideo/webrtc-player",
3
- "version": "0.8.48",
3
+ "version": "0.8.49",
4
4
  "description": "@besovideo/webrtc-player desc",
5
5
  "type": "module",
6
6
  "types": "./dist/types/main.d.ts",