TrackBuffer::AppendData should check the validity of the data added

RESOLVED WORKSFORME

Status

()

P2
normal
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: jya, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
The Segment Parser Loop
http://w3c.github.io/media-source/#sourcebuffer-segment-parser-loop
3.5.1 Segment Parser Loop

Initialization segment received algorithm and coded frame processing algorithm, both states that the Append Error Algorithm be called should the data be invalid or incomplete.

Currently no error is ever produced.

Bug 1116056 adds some methods to check that the data is properly formed (without checking the actual data).

We should call the Append Error algorithm as per spec.
(Reporter)

Updated

4 years ago
Depends on: 1116056

Updated

4 years ago
Priority: -- → P2
(Reporter)

Comment 1

4 years ago
With bug 1125776, errors are now reported back to the Source Buffer as per spec.

However, currently only errors related to the init segment are detected
(Reporter)

Comment 2

4 years ago
This is now properly handled by the new MSE code.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.