Browse Source

视频代码修改提交

wangqin
Joe 10 months ago
parent
commit
a806781ca3
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js

6
ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js

@ -96,13 +96,13 @@ export class HttpLivePlayer {
type: "flv", type: "flv",
url: this.url, url: this.url,
isLive: true, isLive: true,
// hasVideo: true, hasVideo: true,
hasAudio: false, hasAudio: false,
}, },
{ {
autoCleanupSourceBuffer: true, autoCleanupSourceBuffer: true,
enableWorker: false, //不启用分离线程 // enableWorker: false, //不启用分离线程
enableStashBuffer: true, //关闭IO隐藏缓冲区 // enableStashBuffer: true, //关闭IO隐藏缓冲区
isLive: true, isLive: true,
lazyLoad: false, lazyLoad: false,
} }

Loading…
Cancel
Save