@besovideo/webrtc-player 0.8.63 → 0.8.65

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 CHANGED
@@ -77,7 +77,7 @@ const { instance } = PuPlayer({
77
77
  enableController: false,
78
78
  // (可选) 禁用控制器的控制项 下面示例中禁用了云台控制
79
79
  disabledControls: ["ptzControl"],
80
- // (可选) 设置最大重连间隔(s),默认不自动重连
80
+ // (可选) 设置最大重连间隔(s),默认不自动重连,setDefaultProps设置的maxReconnectInterval高于props
81
81
  maxReconnectInterval: 30,
82
82
  // (可选) 设置webrtc下视频预览,当没有视频时有音频情况下,是否展示音频波形
83
83
  noVideoRendeAudioWaveform: false,
@@ -439,6 +439,23 @@
439
439
  border-radius: 5px;
440
440
  font-size: 14px;
441
441
  }
442
+ .bvplayer-recordState {
443
+ position: absolute;
444
+ top: 0;
445
+ left: 0;
446
+ }
447
+ .bvplayer-recordState > span {
448
+ display: inline-block;
449
+ position: absolute;
450
+ left: 10px;
451
+ top: 10px;
452
+ height: 30px;
453
+ line-height: 32px;
454
+ font-size: 14px;
455
+ background-color: white;
456
+ width: 100px;
457
+ border-radius: 5px;
458
+ }
442
459
  .bvplayer-video {
443
460
  display: block;
444
461
  box-sizing: border-box;