Skip to content

Commit 5856d1d

Browse files
committed
in live mode set seek start time to BufferController to enable buffer level computation at startup
1 parent dd9c653 commit 5856d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/streaming/controllers/ScheduleController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ function ScheduleController(config) {
398398
playbackController.setLiveStartTime(request.startTime);
399399
}
400400
seekTarget = playbackController.getStreamStartTime(false, liveEdge);
401+
streamProcessor.getBufferController().setSeekStartTime(seekTarget);
401402

402403
//special use case for multi period stream. If the startTime is out of the current period, send a seek command.
403404
//in onPlaybackSeeking callback (StreamController), the detection of switch stream is done.

0 commit comments

Comments
 (0)