VideoFrame class
The interface of the Web Codecs API represents a frame of a video.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- VideoFrame(dynamic image, [VideoFrameInit? init])
-
factory
Properties
- codedHeight → int
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - codedRect → DOMRectReadOnly?
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - codedWidth → int
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - colorSpace → VideoColorSpace
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - displayHeight → int
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - displayWidth → int
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - duration → int?
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - format → VideoPixelFormat?
-
Available on VideoFrame, provided by the PropsVideoFrame extension
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?
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter - visibleRect → DOMRectReadOnly?
-
Available on VideoFrame, provided by the PropsVideoFrame extension
no setter
Methods
-
allocationSize(
[VideoFrameCopyToOptions? options]) → int -
Available on VideoFrame, provided by the PropsVideoFrame extension
-
clone(
) → VideoFrame -
Available on VideoFrame, provided by the PropsVideoFrame extension
-
close(
) → void -
Available on VideoFrame, provided by the PropsVideoFrame extension
-
copyTo(
dynamic destination, [VideoFrameCopyToOptions? options]) → Future< Iterable< PlaneLayout> > -
Available on VideoFrame, provided by the PropsVideoFrame extension
-
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