[251125] fix: HLS 버퍼증가

🕐 커밋 시간: 2025. 11. 25. 09:17:40

📊 변경 통계:
  • 총 파일: 1개
  • 추가: +9줄
  • 삭제: -9줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx

🔧 주요 변경 내용:
  • 코드 정리 및 최적화
This commit is contained in:
2025-11-25 09:17:40 +09:00
parent f9c23afd9e
commit 564ff1f69a

View File

@@ -2005,11 +2005,11 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
},
tracks: [{ kind: 'subtitles', src: currentSubtitleBlob, default: true }],
hlsOptions: {
// 버퍼 길이를 약간 늘려 재버퍼링 감소
maxBufferLength: 30,
maxMaxBufferLength: 90,
liveSyncDuration: 8,
liveMaxLatencyDuration: 16,
// 버퍼 길이를 늘려 재버퍼링 감소
maxBufferLength: 60,
maxMaxBufferLength: 180,
liveSyncDuration: 16,
liveMaxLatencyDuration: 32,
},
},
youtube: YOUTUBECONFIG,
@@ -2019,10 +2019,10 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
youtube: YOUTUBECONFIG,
file: {
hlsOptions: {
maxBufferLength: 30,
maxMaxBufferLength: 90,
liveSyncDuration: 8,
liveMaxLatencyDuration: 16,
maxBufferLength: 60,
maxMaxBufferLength: 180,
liveSyncDuration: 16,
liveMaxLatencyDuration: 32,
},
},
};