Open Bug 2075203 Opened 1 month ago Updated 1 month ago

MSE SourceBuffer.remove() on HEVC video removes all buffered data instead of the provided range

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 156
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kaminwurschze, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce

Play this HEVC Stream on Firefox using Bitmovin Player (or Shaka Player): https://media.axprod.net/TestVectors/H265/clear_cmaf_1080p_h265/manifest.mpd

Example: https://bitmovin.com/demos/player-playground?pConfig=ewogICJrZXkiOiAiWU9VUiBLRVkgSEVSRSIKfQ%3D%3D&sConfig=ewogICJkYXNoIjogImh0dHBzOi8vbWVkaWEuYXhwcm9kLm5ldC9UZXN0VmVjdG9ycy9IMjY1L2NsZWFyX2NtYWZfMTA4MHBfaDI2NS9tYW5pZmVzdC5tcGQiLAp9

This is also reproducible on the attached test page (plain MSE, no external player):

  1. Open the attached hevc-firefox-mse.html.
    The page appends the init segment and three ~6s fragments (0–17.92s) to a video SourceBuffer and calls endOfStream().
  2. When playback reaches 3s, the page calls sourceBuffer.remove(0, 1).

Environment: Firefox (stable) v156.0.1 (aarch64) on macOS 27

Actual results

Bitmovin Demo Page: Playback stalls at ~20s

Attached Test Page:
When calling remove(0, 1), the buffered ranges flip from 0.00-17.92 to none. The whole SourceBuffer is emptied, including the data at the current playback position. Playback stalls permanently (waiting).

Expected results

Only the provided range is removed from SourceBuffers.

Attached file hevc-firefox-mse.html —

:jimm, this seems related to Bug 2065822. Not sure if it's a duplicate?

Flags: needinfo?(jmathies)
Keywords: regression
Regressed by: 2049615
See Also: → 2065822

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: