You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrade to exoplayer 2.13.3, live playback speed became to variant speed. #9329
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.
@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.
Activity
icbaker commentedon Aug 25, 2021
You can customise this behaviour as explained here: https://exoplayer.dev/live-streaming.html#configuring-live-playback-parameters
ojw28 commentedon Aug 31, 2021
@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.
Disable live speed adjustment where it has no benefit
Disable live speed adjustment where it has no benefit