Open Bug 1146756 Opened 5 years ago Updated 5 years ago
Expose function on Media
Source to dump all trackbuffers to disk
It's handy for debugging to expose a function on the MediaSource object to write the buffered data to disk.
You can use this from the web console, with: document.getElementsByTagName("video").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].
You need to log in before you can comment on or make changes to this bug.