Open Bug 1146756 Opened 9 years ago Updated 2 years ago

Expose function on MediaSource to dump all trackbuffers to disk

Categories

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

defect

Tracking

()

People

(Reporter: cpearce, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It's handy for debugging to expose a function on the MediaSource object to write the buffered data to disk.
Attached patch WIP PatchSplinter Review
You can use this from the web console, with:

document.getElementsByTagName("video")[0].mozMediaSourceObject.dump("/path/to/dump");

Not a good idea to ship this in its current state, WebIDL attributes should be [ChromeOnly] at least (they're not accessible from the WebConsole if they are, so I had to make MediaSource.dump() not [ChromeOnly].
Priority: -- → P3
Component: Audio/Video → Audio/Video: Playback
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: