Skip to content

setPlaybackRate(0) when playback stalled causes infinity freeze on some Hisense device #1734

@KunXi-Fox

Description

@KunXi-Fox

Hi there,

We've been told from Hisense team that setPlaybackRate(0) may causes infinity freeze on some of their devices, I saw we set playback rate to 0 when we try to start build buffer.

public startRebuffering(): void {
if (this._isRebuffering || this._isDisposed) {
return;
}
this._isRebuffering = true;
this._speedUpdateCanceller.cancel();
log.info("Init", "Pause playback to build buffer");
this._playbackObserver.setPlaybackRate(0);
}

Could we change it to call videoElment.pause() instead ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions