ExternalVideoFrame class
The external video frame.
- Annotations
-
- @JsonSerializable(explicitToJson: true, includeIfNull: false)
Properties
- buffer → Uint8List?
-
Video frame buffer.
final
- cropBottom → int?
-
Raw data related parameter. The number of pixels trimmed from the bottom. The default value is 0.
final
- cropLeft → int?
-
Raw data related parameter. The number of pixels trimmed from the left. The default value is 0.
final
- cropRight → int?
-
Raw data related parameter. The number of pixels trimmed from the right. The default value is 0.
final
- cropTop → int?
-
Raw data related parameter. The number of pixels trimmed from the top. The default value is 0.
final
- eglType → EglContextType?
-
This parameter only applies to video data in Texture format. Texture ID of the video frame.
final
- format → VideoPixelFormat?
-
The pixel format. See VideoPixelFormat.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
Height of the incoming video frame.
final
-
matrix
→ List<
double> ? -
This parameter only applies to video data in Texture format. Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
final
- metadataBuffer → Uint8List?
-
This parameter only applies to video data in Texture format. The MetaData buffer. The default value is NULL.
final
- metadataSize → int?
-
This parameter only applies to video data in Texture format. The MetaData size. The default value is 0.
final
- rotation → int?
-
Raw data related parameter. The clockwise rotation of the video frame. You can set the rotation angle as 0, 90, 180, or 270. The default value is 0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stride → int?
-
Line spacing of the incoming video frame, which must be in pixels instead of bytes. For textures, it is the width of the texture.
final
- textureId → int?
-
This parameter only applies to video data in Texture format. Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
final
- textureSliceIndex → int?
-
This parameter only applies to video data in Windows Texture format. It represents an index of an ID3D11Texture2D texture object used by the video frame in the ID3D11Texture2D array.
final
- timestamp → int?
-
Timestamp (ms) of the incoming video frame. An incorrect timestamp results in frame loss or unsynchronized audio and video.
final
- type → VideoBufferType?
-
The video type. See VideoBufferType.
final
Methods
-
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