Commit 83f3cf6dec06bf86d81990a5d985788fce3857ca

Authored by ww
1 parent f06719d1

perf: flv设置自动清除缓存

@@ -15849,7 +15849,7 @@ class HandleDynamicEffect { @@ -15849,7 +15849,7 @@ class HandleDynamicEffect {
15849 videoPlayConfig = { 15849 videoPlayConfig = {
15850 ...videoPlayConfig, 15850 ...videoPlayConfig,
15851 muted: true, 15851 muted: true,
15852 - liveui: true, 15852 + liveui: true,
15853 techOrder: ['html5', 'flvjs'], 15853 techOrder: ['html5', 'flvjs'],
15854 flvjs: { 15854 flvjs: {
15855 mediaDataSource: { 15855 mediaDataSource: {
@@ -15857,6 +15857,8 @@ class HandleDynamicEffect { @@ -15857,6 +15857,8 @@ class HandleDynamicEffect {
15857 cors: true, 15857 cors: true,
15858 hasAudio: false, 15858 hasAudio: false,
15859 withCredentials: false, 15859 withCredentials: false,
  15860 + autoCleanupSourceBuffer: true,
  15861 + autoCleanupMaxBackwardDuration: 60,
15860 }, 15862 },
15861 config: { 15863 config: {
15862 headers: { 15864 headers: {