diff --git a/com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js b/com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js index 53c0a8b7..c460525b 100644 --- a/com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js +++ b/com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js @@ -883,10 +883,10 @@ const VideoPlayerBase = class extends React.Component { this.props.belowContentsVisible !== undefined && prevProps.belowContentsVisible !== this.props.belowContentsVisible ) { - if (this.props.belowContentsVisible && !this.state.mediaControlsVisible) { + if (this.props.belowContentsVisible) { // TabContainerV2가 표시될 때 controls도 표시 this.showControls(); - } else if (!this.props.belowContentsVisible && this.state.mediaControlsVisible) { + } else { // TabContainerV2가 숨겨질 때 controls도 숨김 this.hideControls(); } diff --git a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx index 6b3a0fde..58430c82 100644 --- a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx +++ b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx @@ -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, }, }, };