|
@ -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, |
|
|
} |
|
|
} |
|
|