Skip to content

After upgrade to exoplayer 2.13.3, live playback speed became to variant speed.  #9329

Closed

Description

@zgzong

After upgrade to exoplayer 2.13.x onwards, the live playback speed became variant speed between range [0.97, 1.03], even for normal non-low latency live stream.

Since the 2.13.0, exoplayer introduce DefaultLivePlaybackSpeedControl.java, getAdjustedPlaybackSpeed function looks check

DefaultLivePlaybackSpeedControl.java
if (mediaConfigurationTargetLiveOffsetUs == C.TIME_UNSET) {
return 1f;
}
and mediaConfigurationTargetLiveOffsetUs = C.msToUs(liveConfiguration.targetOffsetMs);

Because of DASH's DashMediaSource.java updateMediaItemLiveConfiguration logic
private void updateMediaItemLiveConfiguration(long nowInWindowUs, long windowDurationUs) {

Based on current implementation DashMediaSource targetOffsetMs's can not be TIME_UNSET any more, that means all live stream will play live stream with variant playback speed.

Activity

  1. self-assigned this
    on Aug 25, 2021
  2. icbaker commented on Aug 25, 2021

    @icbaker
    Collaborator

    You can customise this behaviour as explained here: https://exoplayer.dev/live-streaming.html#configuring-live-playback-parameters

  3. ojw28 commented on Aug 31, 2021

    @ojw28
    Contributor

    @christosts @marcbaechinger - Could we reconsider the decision to enable variable playback speed for non-LL streams? I still don't think it's really expected, in general.

  4. reopened this on Aug 31, 2021
  5. assigned and unassigned on Aug 31, 2021
  6. locked and limited conversation to collaborators on Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions