[251125] fix: VideoPlayer 수정-1

🕐 커밋 시간: 2025. 11. 25. 20:41:57

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

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

🔧 주요 변경 내용:
  • UI 컴포넌트 아키텍처 개선
  • 코드 정리 및 최적화
This commit is contained in:
2025-11-25 20:41:58 +09:00
parent 3c435a9e21
commit f47c1ecdf7
2 changed files with 13 additions and 13 deletions

View File

@@ -2006,13 +2006,13 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
},
tracks: [{ kind: 'subtitles', src: currentSubtitleBlob, default: true }],
hlsOptions: {
// 버퍼 길이를 30초 기준으로 설정
maxBufferLength: 30,
maxMaxBufferLength: 90,
// 버퍼 길이를 60초 기준으로 설정
maxBufferLength: 60,
maxMaxBufferLength: 180,
backBufferLength: 0,
maxBufferSize: 30 * 1000 * 1000, // 최대 버퍼 크기 30MB
liveSyncDuration: 8,
liveMaxLatencyDuration: 16,
maxBufferSize: 100 * 1000 * 1000, // 최대 버퍼 크기 100MB
liveSyncDuration: 16,
liveMaxLatencyDuration: 32,
},
},
youtube: YOUTUBECONFIG,
@@ -2025,12 +2025,12 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
preload: 'metadata',
},
hlsOptions: {
maxBufferLength: 30,
maxMaxBufferLength: 90,
maxBufferLength: 60,
maxMaxBufferLength: 180,
backBufferLength: 0,
maxBufferSize: 30 * 1000 * 1000,
liveSyncDuration: 8,
liveMaxLatencyDuration: 16,
maxBufferSize: 100 * 1000 * 1000,
liveSyncDuration: 16,
liveMaxLatencyDuration: 32,
},
},
};