diff --git a/public/player/player.html b/public/player/player.html index 3e4d55c..b2a9688 100644 --- a/public/player/player.html +++ b/public/player/player.html @@ -39,13 +39,13 @@ function create() { jessibuca = new Jessibuca({ container: $container, // 播放器容器 若为 string ,则底层调用的是 document.getElementById('id') - videoBuffer: 3, // 设置最大缓冲时长,单位秒,播放器会自动消除延迟 + videoBuffer: 60, // 设置最大缓冲时长,单位秒,播放器会自动消除延迟 isResize: true, // 1. 当为`true`的时候:视频画面做等比缩放后,高或宽对齐canvas区域,画面不被拉伸,但有黑边。 等同于 `setScaleMode(1)` 2. 当为`false`的时候:视频画面完全填充canvas区域,画面会被拉伸。等同于 `setScaleMode(0)` loadingText: '视频加载中', // 加载过程中文案 useMSE: false, // 是否开启MediaSource硬解码 视频编码只支持H.264视频(Safari on iOS不支持)不支持 forceNoOffscreen 为 false (开启离屏渲染) useWCS: false, // 是否开启Webcodecs硬解码 视频编码只支持H.264视频 (需在chrome 94版本以上,需要https或者localhost环境) 支持 forceNoOffscreen 为 false (开启离屏渲染) debug: false, // 是否开启控制台调试打 - showBandwidth: false, // 是否显示显示网速 + showBandwidth: true, // 是否显示显示网速 loadingTimeout: 60, // flv地址请求超时时间 operateBtns: { // 配置操作按钮 diff --git a/public/player/player.html b/public/player/player.html index 3e4d55c..b2a9688 100644 --- a/public/player/player.html +++ b/public/player/player.html @@ -39,13 +39,13 @@ function create() { jessibuca = new Jessibuca({ container: $container, // 播放器容器 若为 string ,则底层调用的是 document.getElementById('id') - videoBuffer: 3, // 设置最大缓冲时长,单位秒,播放器会自动消除延迟 + videoBuffer: 60, // 设置最大缓冲时长,单位秒,播放器会自动消除延迟 isResize: true, // 1. 当为`true`的时候:视频画面做等比缩放后,高或宽对齐canvas区域,画面不被拉伸,但有黑边。 等同于 `setScaleMode(1)` 2. 当为`false`的时候:视频画面完全填充canvas区域,画面会被拉伸。等同于 `setScaleMode(0)` loadingText: '视频加载中', // 加载过程中文案 useMSE: false, // 是否开启MediaSource硬解码 视频编码只支持H.264视频(Safari on iOS不支持)不支持 forceNoOffscreen 为 false (开启离屏渲染) useWCS: false, // 是否开启Webcodecs硬解码 视频编码只支持H.264视频 (需在chrome 94版本以上,需要https或者localhost环境) 支持 forceNoOffscreen 为 false (开启离屏渲染) debug: false, // 是否开启控制台调试打 - showBandwidth: false, // 是否显示显示网速 + showBandwidth: true, // 是否显示显示网速 loadingTimeout: 60, // flv地址请求超时时间 operateBtns: { // 配置操作按钮 diff --git a/src/components.d.ts b/src/components.d.ts index 0d54fa5..a1c59be 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -28,7 +28,6 @@ CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] - copy: typeof import('./components/Echart/LineChart copy.vue')['default'] CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default']