WebIDLpedia

EncodedVideoChunk interface

Definition

WebCodecs defines EncodedVideoChunk



[Exposed=(Window,DedicatedWorker), Serializable]
interface EncodedVideoChunk {
  constructor(EncodedVideoChunkInit init);
  readonly attribute EncodedVideoChunkType type;
  readonly attribute long long timestamp;             // microseconds
  readonly attribute unsigned long long? duration;    // microseconds
  readonly attribute unsigned long byteLength;

  undefined copyTo(AllowSharedBufferSource destination);
};

Methods and attributes that return objects implementing EncodedVideoChunk

Referring IDL interfaces/dictionaries