Commit e305a2b8 by Tianqing Liu

feat: 云台控制UI

1 parent 0b88d760
......@@ -24,6 +24,14 @@ export default {
type: String,
default: '',
},
controlAutoHide: {
type: Boolean,
default: true,
},
showPtz: {
type: Boolean,
default: true,
},
},
data() {
return {
......@@ -45,11 +53,12 @@ export default {
useWCS: false,
isNotMute: false,
timeout: 10,
keepScreenOn: true, // 屏幕常亮
debug: true, // 是否开启控制台调试打印
// 按钮和界面
loadingText: '加载中...',
controlAutoHide: false,
controlAutoHide: this.controlAutoHide,
supportDblclickFullscreen: false,
showBandwidth: false, // 显示网速
watermarkConfig: {
......@@ -66,7 +75,17 @@ export default {
screenshot: false,
play: true,
audio: true,
ptz: true, // 云台
zoom: true,
performance: false,
},
extendOperateBtns: [],
// 云台控制
ptzClickType: 'click', // click mouseDownAndUp
ptzZoomShow: true,
ptzMoreArrowShow: true,
ptzApertureShow: true,
ptzFocusShow: true,
});
this._jessibuca = new window.JessibucaPro(options);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!