BlobEvent
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.
Instance 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.
Instance methods
No specific method; inherits methods from its parent Event
.
Specifications
Specification |
---|
MediaStream Recording # blobevent-section |
Browser compatibility
BCD tables only load in the browser
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