VideoEncoder class
The interface of the WebCodecs API encodes VideoFrame objects.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- VideoEncoder(VideoEncoderInit init)
-
factory
Properties
- encodeQueueSize → int
-
Available on VideoEncoder, provided by the PropsVideoEncoder extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
ondequeue
↔ EventHandlerNonNull<
Event> ? -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → CodecState
-
Available on VideoEncoder, provided by the PropsVideoEncoder extension
no setter
Methods
-
close(
) → void -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
-
configure(
VideoEncoderConfig config) → void -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
-
encode(
VideoFrame frame, [VideoEncoderEncodeOptions? options]) → void -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
-
flush(
) → Future< void> -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Available on VideoEncoder, provided by the PropsVideoEncoder extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited