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
Constructors
BlobEvent()
public BlobEvent()
BlobEvent(string, BlobEventInit)
public BlobEvent(string type, BlobEventInit eventInitDict)
Parameters
typestringeventInitDictBlobEventInit
Remarks
-The BlobEvent interface it belongs to.
Properties
Data
[Value("data")]
public Blob Data { get; }
Property Value
Remarks
-The BlobEvent interface it belongs to.
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
Remarks
Note that the timecode in the first produced BlobEvent does not need to be zero.