VideoFrame interface
Represents a video frame.
Properties
chroma |
NV12 chroma stride, valid only when video frame format is NV12 |
data | Video frame buffer |
height | Video frame height. |
luma |
NV12 luma stride, valid only when video frame format is NV12 |
stride | RGB stride, valid only when video frame format is RGB |
width | Video frame width. |
Property Details
chromaStride
NV12 chroma stride, valid only when video frame format is NV12
chromaStride?: number
Property Value
number
data
Video frame buffer
data: Uint8ClampedArray
Property Value
Uint8ClampedArray
height
Video frame height.
height: number
Property Value
number
lumaStride
NV12 luma stride, valid only when video frame format is NV12
lumaStride?: number
Property Value
number
stride
RGB stride, valid only when video frame format is RGB
stride?: number
Property Value
number
width
Video frame width.
width: number
Property Value
number