Skip to content

Commit

Permalink
Fix invalid duration and mfra box for live mode.
Browse files Browse the repository at this point in the history
The change allows single moov box even with live mode, no duration
data and no random access box.

Bug: 41496328
Change-Id: I5dc5e80d8b4e0181b9257dfa1dac03c99cde0597
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5311091
Commit-Queue: Sunggook Chue <[email protected]>
Reviewed-by: Dale Curtis <[email protected]>
Reviewed-by: Markus Handell <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1263512}
  • Loading branch information
cpsgchue authored and chromium-wpt-export-bot committed Feb 21, 2024
1 parent 0fff981 commit 8913ed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mediacapture-record/MediaRecorder-peerconnection.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
{ kinds: { video }, mimeType: "video/webm;codecs=vp8" },
{ kinds: { video, audio }, mimeType: "video/webm;codecs=vp8,opus" },
{ kinds: { video }, mimeType: "video/webm;codecs=vp9" },
{ kinds: { video, audio }, mimeType: "video/webm;codecs=vp9,opus" }
{ kinds: { video, audio }, mimeType: "video/webm;codecs=vp9,opus" },
{ kinds: { audio }, mimeType: "audio/mp4;codecs=mp4a.40.2" },
{ kinds: { video, audio }, mimeType: "video/mp4;codecs=avc1,mp4a.40.2" }
]) {
const tag = `${JSON.stringify(kinds)} mimeType "${mimeType}"`;
const stream = new MediaStream([kinds.audio, kinds.video].filter(n => n));
Expand Down

0 comments on commit 8913ed3

Please sign in to comment.