The BlobEvent
interface represents events associated with a Blob
. These blobs are typically, but not necessarily, associated with media content.
Constructor
BlobEvent()
- Creates a
BlobEvent
event with the given parameters.
Properties
Inherits properties from its parent Event
.
BlobEvent.data
Read only- A
Blob
representing the data associated with the event. The event was fired on theEventTarget
because of something happening on that specificBlob
. BlobEvent.timecode
Read only- A
DOMHighResTimeStamp
indicating the difference between the timestamp of the first chunk in data and the timestamp of the first chunk in the first BlobEvent produced by this recorder. Note that the timecode in the first produced BlobEvent does not need to be zero.
Methods
No specific method; inherits methods from its parent Event
.
Specifications
Specification | Status | Comment |
---|---|---|
MediaStream Recording The definition of 'BlobEvent' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
BlobEvent | Chrome Full support 49 | Edge Full support ≤79 | Firefox Full support 22 | IE No support No | Opera Full support 36 | Safari No support No | WebView Android Full support 49 | Chrome Android Full support 49 | Firefox Android Full support 22 | Opera Android Full support 36 | Safari iOS No support No | Samsung Internet Android Full support 5.0 |
BlobEvent() constructor | Chrome Full support 49 | Edge Full support ≤79 | Firefox Full support 22 | IE No support No | Opera Full support 36 | Safari No support No | WebView Android Full support 49 | Chrome Android Full support 49 | Firefox Android Full support 22 | Opera Android Full support 36 | Safari iOS No support No | Samsung Internet Android Full support 5.0 |
data | Chrome Full support 49 | Edge Full support ≤79 | Firefox Full support 22 | IE No support No | Opera Full support 36 | Safari No support No | WebView Android Full support 49 | Chrome Android Full support 49 | Firefox Android Full support 22 | Opera Android Full support 36 | Safari iOS No support No | Samsung Internet Android Full support 5.0 |
timecode | Chrome Full support 57 | Edge Full support ≤79 | Firefox ? | IE No support No | Opera Full support 44 | Safari No support No | WebView Android Full support 57 | Chrome Android Full support 57 | Firefox Android ? | Opera Android Full support 43 | Safari iOS No support No | Samsung Internet Android Full support 7.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
See also
- The
Event
base interface. - MediaStream Recording API: Sends
BlobEvent
objects each time a chunk of media is ready. - Using the MediaStream Recording API