Table of Contents

Class BlobEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

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

[Value("BlobEvent")]
public class BlobEvent : Event
Inheritance
BlobEvent
Inherited Members

Remarks

-The Event base interface.
-MediaStream Recording API: Sends BlobEvent objects each time a chunk of media is ready.
-Using the MediaStream Recording API

See also on MDN

Constructors

BlobEvent()

public BlobEvent()

BlobEvent(string, BlobEventInit)

The BlobEvent() constructor returns a newly created
BlobEvent object with an associated Blob.

public BlobEvent(string type, BlobEventInit eventInitDict)

Parameters

type string
eventInitDict BlobEventInit

Remarks

-The BlobEvent interface it belongs to.

See also on MDN

Properties

Data

The data read-only property of the BlobEvent interface represents a Blob associated with the event.

[Value("data")]
public Blob Data { get; }

Property Value

Blob

A Blob object.

Remarks

-The BlobEvent interface it belongs to.

See also on MDN

Timecode

The timecode read-only property of the BlobEvent interface indicates the difference between the timestamp of the first chunk of data, and the timestamp of the first chunk in the first BlobEvent produced by this recorder.

[Value("timecode")]
public Number Timecode { get; }

Property Value

Number

A Number.

Remarks

Note that the timecode in the first produced BlobEvent does not need to be zero.

See also on MDN