Commit e13bf6d3398a2a8dc3eade9d38fca17b606bc524

Authored by ww
1 parent ab77ae57

perf: flv设置自动清除缓存

@@ -98,6 +98,9 @@ const options: VideoJsPlayerOptions & Recordable = { @@ -98,6 +98,9 @@ const options: VideoJsPlayerOptions & Recordable = {
98 isLive: true, 98 isLive: true,
99 cors: true, 99 cors: true,
100 withCredentials: false, 100 withCredentials: false,
  101 + hasAudio: false,
  102 + autoCleanupSourceBuffer: true,
  103 + autoCleanupMaxBackwardDuration: 60,
101 }, 104 },
102 }, 105 },
103 } 106 }