Home > @rainway/web > IVideoCodec
IVideoCodec interface
A video codec recognized by Rainway.
Signature:
export interface IVideoCodec
Properties
Property | Type | Description |
---|---|---|
data | Uint8Array | Bytes encoding a "Parameter Set" for this codec. In particular, data[5..7] are the "avcoti" bytes that can be used to construct a MIME type string like video/mp4; codecs="avc1.42001e" . |
friendlyName | string | A human-readable name for this codec setting. |
height | number | The video height in pixels. |
refreshRate | number | The video refresh rate in frames per second. |
type | VideoCodecType | A bitmask enum value coarsely describing this codec. |
width | number | The video width in pixels. |