VideoDecoder class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebCodecs API decodes chunks of video.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

VideoDecoder(VideoDecoderInit init)
factory

Properties

decodeQueueSize int

Available on VideoDecoder, provided by the PropsVideoDecoder extension

no setter
hashCode int
The hash code for this object.
no setterinherited
ondequeue EventHandlerNonNull<Event>?

Available on VideoDecoder, provided by the PropsVideoDecoder extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state CodecState

Available on VideoDecoder, provided by the PropsVideoDecoder extension

no setter

Methods

close() → void

Available on VideoDecoder, provided by the PropsVideoDecoder extension

configure(VideoDecoderConfig config) → void

Available on VideoDecoder, provided by the PropsVideoDecoder extension

decode(EncodedVideoChunk chunk) → void

Available on VideoDecoder, provided by the PropsVideoDecoder extension

flush() Future<void>

Available on VideoDecoder, provided by the PropsVideoDecoder extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void

Available on VideoDecoder, provided by the PropsVideoDecoder extension

toString() String
A string representation of this object.
inherited

Operators

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