Closed Bug 1299451 Opened 8 years ago Closed 8 years ago

HTMLMediaElement's mozCaptureStream may result in no output

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P1)

51 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox50 --- unaffected
firefox51 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

Details

Attachments

(1 file)

While investigating bug 1299172 I found locally that we in some cases don't setup a captured stream properly. I.e., when mozCaptureStream is called after setting the src, but before metadata has loaded.

This also led to an assert when the src ended or we changed source.
Comment on attachment 8786725 [details]
Bug 1299451 - Fix mozCaptureStream() happening after setting src but before having metadata.

https://reviewboard.mozilla.org/r/75648/#review73694
Attachment #8786725 - Flags: review?(rjesup) → review+
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7eac2acb63a5
Fix mozCaptureStream() happening after setting src but before having metadata. r=jesup
Rank: 17
Priority: -- → P1
https://hg.mozilla.org/mozilla-central/rev/7eac2acb63a5
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Blocks: 1298777
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: