Back to Content

BlobEvent

files/en-us/web/api/blobevent/index.md

latest1.6 KB
Original Source

{{APIRef("MediaStream Recording")}}

The BlobEvent interface of the MediaStream Recording API represents events associated with a {{domxref("Blob")}}. These blobs are typically, but not necessarily, associated with media content.

{{InheritanceDiagram}}

Constructor

  • {{domxref("BlobEvent.BlobEvent", "BlobEvent()")}}
    • : Creates a BlobEvent event with the given parameters.

Instance properties

Inherits properties from its parent {{domxref("Event")}}.

  • {{domxref("BlobEvent.data")}} {{ReadOnlyInline}}
    • : A {{domxref("Blob")}} representing the data associated with the event. The event was fired on the {{domxref("EventTarget")}} because of something happening on that specific {{domxref("Blob")}}.
  • {{domxref("BlobEvent.timecode")}} {{ReadOnlyInline}}
    • : A {{domxref("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 {{domxref("Event")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also