@besovideo/webrtc-player 0.8.57 → 0.8.59

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
@@ -83,6 +83,13 @@ const { instance } = PuPlayer({
83
83
  noVideoRendeAudioWaveform: false,
84
84
  // (可选) 设置语言支持中文zh、英文en,默认中文
85
85
  locale: "zh",
86
+ // (可选) bvrtc配置
87
+ bvrtcConfig: {
88
+ // (可选) 是否启用webcodecs解码,默认启用
89
+ enableWebcodes: boolean,
90
+ // (可选) 设置解码实时性 范围 0-10, 0 -- 流畅性最大, 10 -- 实时性最大
91
+ realTimeLevel: number
92
+ }
86
93
  });
87
94
 
88
95
  // setVideoFit 更改videoFit
@@ -1,4 +1,4 @@
1
- /* sass-plugin-0:G:\develop\bvweb-player\node_modules\tippy.js\dist\tippy.css */
1
+ /* sass-plugin-0:E:\codeGit\bvweb-player\node_modules\tippy.js\dist\tippy.css */
2
2
  .tippy-box[data-animation=fade][data-state=hidden] {
3
3
  opacity: 0;
4
4
  }
@@ -81,7 +81,7 @@
81
81
  z-index: 1;
82
82
  }
83
83
 
84
- /* sass-plugin-0:G:\develop\bvweb-player\node_modules\tippy.js\animations\shift-away.css */
84
+ /* sass-plugin-0:E:\codeGit\bvweb-player\node_modules\tippy.js\animations\shift-away.css */
85
85
  .tippy-box[data-animation=shift-away][data-state=hidden] {
86
86
  opacity: 0;
87
87
  }
@@ -98,7 +98,7 @@
98
98
  transform: translateX(-10px);
99
99
  }
100
100
 
101
- /* sass-plugin-0:G:\develop\bvweb-player\src\styles\contextmenu.css */
101
+ /* sass-plugin-0:E:\codeGit\bvweb-player\src\styles\contextmenu.css */
102
102
  .cm_container {
103
103
  position: absolute;
104
104
  opacity: 0;
@@ -192,7 +192,7 @@
192
192
  background-color: inherit;
193
193
  }
194
194
 
195
- /* sass-plugin-0:G:\develop\bvweb-player\src\styles\main.scss */
195
+ /* sass-plugin-0:E:\codeGit\bvweb-player\src\styles\main.scss */
196
196
  .bvplayer-common-flex-space {
197
197
  display: inline-block;
198
198
  flex: 1;
@@ -415,6 +415,30 @@
415
415
  opacity: 0.8;
416
416
  font-size: 12px;
417
417
  }
418
+ .bvplayer-toast {
419
+ position: absolute;
420
+ top: 0;
421
+ left: 0;
422
+ height: 100%;
423
+ width: 100%;
424
+ }
425
+ .bvplayer-toast > span {
426
+ display: inline-block;
427
+ position: absolute;
428
+ left: calc(50% - 100px);
429
+ bottom: 72px;
430
+ margin: -18px 0 0 0px;
431
+ height: 32px;
432
+ width: 200px;
433
+ line-height: 32px;
434
+ -webkit-mask-repeat: no-repeat;
435
+ mask-repeat: no-repeat;
436
+ -webkit-mask-position: center;
437
+ mask-position: center;
438
+ text-align: center;
439
+ border-radius: 5px;
440
+ font-size: 14px;
441
+ }
418
442
  .bvplayer-video {
419
443
  display: block;
420
444
  box-sizing: border-box;