The BlobEvent interface represents events associated with a Blob. These blobs are typically, but not necessarily, associated with media content.
On this page
BlobEvent
Constructor
-
BlobEvent() -
Creates a
BlobEventevent with the given parameters.
Instance properties
Inherits properties from its parent Event.
BlobEvent.dataRead only-
A
Blobrepresenting the data associated with the event. The event was fired on theEventTargetbecause of something happening on that specificBlob. BlobEvent.timecodeRead only-
A
DOMHighResTimeStampindicating 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.
Instance methods
No specific method; inherits methods from its parent Event.
Specifications
| Specification |
|---|
| MediaStream Recording # blobevent-section |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
BlobEvent |
49 | 79 | 21 | No | 36 | 14 | 49 | 49 | 21 | 36 | 14 | 5.0 |
BlobEvent |
49 | 79 | 21 | No | 36 | 14 | 49 | 49 | 21 | 36 | 14 | 5.0 |
data |
49 | 79 | 21 | No | 36 | 14 | 49 | 49 | 21 | 36 | 14 | 5.0 |
timecode |
57 | 79 | No | No | 44 | 14.1 | 57 | 57 | No | 43 | 14.5 | 7.0 |
See also
- The
Eventbase interface. - MediaStream Recording API: Sends
BlobEventobjects each time a chunk of media is ready. - Using the MediaStream Recording API
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent