Skip to content

webOS 4 | UI stalls during playback #1855

Description

@TomaszKowalik

Hi,

We’re observing a reproducible UI responsiveness issue on webOS 4 devices during video playback using RxPlayer (and also Shaka Player).

During playback, the device experiences regular UI stalls / freezes:

  • UI becomes non-responsive for ~1–1.5 seconds
  • then recovers briefly
  • repeats continuously while playback is active
  • issue also occurs when video is paused (so not tied to decoding only)

This creates a noticeable “laggy UI” experience during playback sessions. Playback is running fine tho.

I added a simple main-thread stall detector:

let last = performance.now();

setInterval(function () {
    const now = performance.now();

    if (now - last > 200) {
        console.log("STALL", now - last);
    }

    last = now;
}, 50);

~1300+ “STALL” events are observed during a playback session. Pattern is consistent and continuous while media is loaded/playing.
This suggests main thread long tasks or scheduling delays, not random spikes. Likely main thread blocking caused by MSE + JS playback loop overhead. Native webOS player (non-MSE) does not show this issue.

At this point we’re unsure whether this is a device limitation, and webOS 4 CPU / browser engine cannot handle MSE playback load without UI blocking, or perhaps there are RxPlayer configuration optimizations that could significantly reduce that lagging ?

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