WebIDLpedia

EncodedAudioChunk interface

Definition

WebCodecs defines EncodedAudioChunk



[Exposed=(Window,DedicatedWorker), Serializable]
interface EncodedAudioChunk {
  constructor(EncodedAudioChunkInit init);
  readonly attribute EncodedAudioChunkType 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 EncodedAudioChunk

Referring IDL interfaces/dictionaries