Open Bug 1283464 Opened 8 years ago Updated 2 years ago

MediaRecorder should write cues to webm files

Categories

(Core :: Audio/Video: Recording, defect, P3)

48 Branch
defect

Tracking

()

People

(Reporter: pehrsons, Unassigned)

References

Details

Per bug 969290 comment 35 we should make MediaRecorder write cues to its webm files for optimal player compatibility.
Rank: 25
Priority: -- → P2
Assignee: nobody → bvandyk
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3

https://github.com/w3c/mediacapture-record/issues/119 covers a lot of why this is difficult. Having a live recording API that can request data on demand makes it difficult to produce seekable files because at the time you're writing the index for seeking you don't yet know all the seek points. My recollection was this made it effectively impossible to do this in webm without a remux (this topic comes up in the linked github issue).

It may be possible to do in containers that support offsets from the end of the file such that the header could contain info along the lines of 'the index will appear just before the file ends, so check there', and we can then write the index at the end of the file.

Assignee: bvandyk → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.