EncodedVideoChunk extension type

@AvailableInWorkers("window_and_dedicated")

The EncodedVideoChunk interface of the WebCodecs API represents a chunk of encoded video data.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Constructors

EncodedVideoChunk(EncodedVideoChunkInit init)
factory

Properties

byteLength int
@AvailableInWorkers("window_and_dedicated")
no setter
duration int?
@AvailableInWorkers("window_and_dedicated")
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
@AvailableInWorkers("window_and_dedicated")
no setter
type EncodedVideoChunkType
@AvailableInWorkers("window_and_dedicated")
no setter

Methods

copyTo(AllowSharedBufferSource destination) → void
@AvailableInWorkers("window_and_dedicated")
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited