Skip to content

Playback jumps to live position after seeking backward in live stream #6934

Open
@Firouzzadeh99

Description

@Firouzzadeh99

What do you want to do with Hls.js?

I am working on a live stream that supports a DVR feature with up to 30 minutes of backward seeking. However, when the stream's duration exceeds 30 minutes, I experience a delay of approximately 3-4 minutes. To address this issue, I used the following Hls.js configuration:

const hls = new Hls({
liveSyncDurationCount: 3,
liveMaxLatencyDurationCount: 5,
backBufferLength: 180,
maxLiveSyncPlaybackRate: 30,
});
This configuration helped reduce the delay, and the playback now works fine in most cases. However, I encountered a problem when seeking backward in the stream. After seeking to a previous point in the timeline, if I resume playback, it automatically jumps back to the live position.

I would like to maintain playback at the selected position when seeking backward, instead of it automatically returning to the live position.

What have you tried so far?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions