@besovideo/webrtc-player 0.10.7 → 0.10.9
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 +7 -0
- package/dist/main.browser.css +3 -14
- package/dist/main.browser.js +11460 -2402
- package/dist/main.es.css +3 -14
- package/dist/main.es.js +11459 -2401
- package/dist/types/api/call.d.ts +2 -2
- package/dist/types/api/dialog.d.ts +12 -12
- package/dist/types/api/var.d.ts +4 -4
- package/dist/types/components/callComponents/mediaEndPoint.d.ts +2 -2
- package/dist/types/components/callEndPoint.d.ts +4 -4
- package/dist/types/components/playBack.d.ts +3 -3
- package/dist/types/components/puPlayer.d.ts +7 -3
- package/dist/types/components/subComponent/playState.d.ts +2 -2
- package/dist/types/core/customElement.d.ts +8 -8
- package/dist/types/core/style.d.ts +1 -1
- package/dist/types/core/types.d.ts +4 -4
- package/dist/types/instances/bvWebrtc.d.ts +1 -1
- package/dist/types/plugins/mixins/visible.d.ts +1 -1
- package/dist/types/plugins/player/index.d.ts +2 -0
- package/dist/types/plugins/player/reducers/webrtc.d.ts +1 -1
- package/dist/types/plugins/video.d.ts +4 -1
- package/dist/types/templates/icons.d.ts +2 -2
- package/dist/types/utils/date.d.ts +1 -1
- package/dist/types/utils/media.d.ts +7 -6
- package/dist/types/utils/storage.d.ts +1 -1
- package/dist/types/utils/webMCombina.d.ts +2 -1
- package/dist/types/utils/webmContainerUtils.d.ts +7 -0
- package/dist/types/z_test/index.d.ts +1 -1
- package/package.json +81 -79
package/README.md
CHANGED
|
@@ -93,6 +93,13 @@ const { instance } = PuPlayer({
|
|
|
93
93
|
// (可选) 设置解码实时性 范围 0-10, 0 -- 流畅性最大, 10 -- 实时性最大
|
|
94
94
|
realTimeLevel: number
|
|
95
95
|
}
|
|
96
|
+
//配置本地录像
|
|
97
|
+
localRecordCfg?:{
|
|
98
|
+
//仅仅 https 是否录像使用写文件到文件系统 (默认为false), false 将写文件到arraybuffer
|
|
99
|
+
useFileSystemApi: boolean,
|
|
100
|
+
// useFileSystemApi 为true下配置有效,是否每次录像都进行文件夹选择 (默认为false)
|
|
101
|
+
showDirPickerEveryTime?: boolean
|
|
102
|
+
}
|
|
96
103
|
});
|
|
97
104
|
|
|
98
105
|
// setVideoFit 更改videoFit
|
package/dist/main.browser.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
|
|
3
|
-
/* sass-plugin-1:G:\develop\bvweb-player\node_modules\tippy.js\dist\tippy.css */
|
|
3
|
+
/* sass-plugin-1:G:\develop\bvweb-player\node_modules\.pnpm\tippy.js@6.3.7\node_modules\tippy.js\dist\tippy.css */
|
|
4
4
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
5
5
|
opacity: 0;
|
|
6
6
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
z-index: 1;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
/* sass-plugin-1:G:\develop\bvweb-player\node_modules\tippy.js\animations\shift-away.css */
|
|
99
|
+
/* sass-plugin-1:G:\develop\bvweb-player\node_modules\.pnpm\tippy.js@6.3.7\node_modules\tippy.js\animations\shift-away.css */
|
|
100
100
|
.tippy-box[data-animation=shift-away][data-state=hidden] {
|
|
101
101
|
opacity: 0;
|
|
102
102
|
}
|
|
@@ -261,7 +261,6 @@
|
|
|
261
261
|
.bvplayer-button {
|
|
262
262
|
cursor: pointer;
|
|
263
263
|
-webkit-appearance: none;
|
|
264
|
-
-moz-appearance: none;
|
|
265
264
|
appearance: none;
|
|
266
265
|
outline: none;
|
|
267
266
|
border: 0;
|
|
@@ -532,7 +531,6 @@
|
|
|
532
531
|
height: 98px;
|
|
533
532
|
color: #fff;
|
|
534
533
|
-webkit-user-select: none;
|
|
535
|
-
-moz-user-select: none;
|
|
536
534
|
-ms-user-select: none;
|
|
537
535
|
user-select: none;
|
|
538
536
|
pointer-events: none;
|
|
@@ -588,7 +586,6 @@
|
|
|
588
586
|
cursor: pointer;
|
|
589
587
|
display: inline-block;
|
|
590
588
|
-webkit-appearance: none;
|
|
591
|
-
-moz-appearance: none;
|
|
592
589
|
appearance: none;
|
|
593
590
|
width: 36px;
|
|
594
591
|
height: 100%;
|
|
@@ -658,7 +655,6 @@
|
|
|
658
655
|
.bvplayer-ptz-control-button {
|
|
659
656
|
cursor: pointer;
|
|
660
657
|
-webkit-appearance: none;
|
|
661
|
-
-moz-appearance: none;
|
|
662
658
|
appearance: none;
|
|
663
659
|
outline: none;
|
|
664
660
|
border: 0;
|
|
@@ -681,7 +677,6 @@
|
|
|
681
677
|
height: 100%;
|
|
682
678
|
display: inline-block;
|
|
683
679
|
-webkit-user-select: none;
|
|
684
|
-
-moz-user-select: none;
|
|
685
680
|
-ms-user-select: none;
|
|
686
681
|
user-select: none;
|
|
687
682
|
}
|
|
@@ -831,7 +826,6 @@
|
|
|
831
826
|
overflow: hidden;
|
|
832
827
|
text-overflow: ellipsis;
|
|
833
828
|
vertical-align: top;
|
|
834
|
-
-moz-text-align-last: justify;
|
|
835
829
|
text-align-last: justify;
|
|
836
830
|
}
|
|
837
831
|
.bvplayer-ptz_control_camera-option_item_value {
|
|
@@ -938,7 +932,7 @@
|
|
|
938
932
|
width: 100%;
|
|
939
933
|
display: flex;
|
|
940
934
|
flex-direction: column;
|
|
941
|
-
align-items: end;
|
|
935
|
+
align-items: flex-end;
|
|
942
936
|
margin-left: 70px;
|
|
943
937
|
width: calc(100% - 70px);
|
|
944
938
|
}
|
|
@@ -998,7 +992,6 @@
|
|
|
998
992
|
text-align: center;
|
|
999
993
|
padding: 2px 12px;
|
|
1000
994
|
-webkit-user-select: none;
|
|
1001
|
-
-moz-user-select: none;
|
|
1002
995
|
-ms-user-select: none;
|
|
1003
996
|
user-select: none;
|
|
1004
997
|
}
|
|
@@ -1098,9 +1091,6 @@
|
|
|
1098
1091
|
.bvplayer-markerhandle .input-handle-marker .input::-webkit-input-placeholder {
|
|
1099
1092
|
color: #dddddd;
|
|
1100
1093
|
}
|
|
1101
|
-
.bvplayer-markerhandle .input-handle-marker .input::-moz-placeholder {
|
|
1102
|
-
color: #dddddd;
|
|
1103
|
-
}
|
|
1104
1094
|
.bvplayer-markerhandle .input-handle-marker .input:-ms-input-placeholder {
|
|
1105
1095
|
color: #dddddd;
|
|
1106
1096
|
}
|
|
@@ -1225,7 +1215,6 @@
|
|
|
1225
1215
|
font-size: 20px;
|
|
1226
1216
|
background-color: white;
|
|
1227
1217
|
-webkit-user-select: none;
|
|
1228
|
-
-moz-user-select: none;
|
|
1229
1218
|
-ms-user-select: none;
|
|
1230
1219
|
user-select: none;
|
|
1231
1220
|
}
|