Home > @rainway/web > VideoCodecType
VideoCodecType enum
A bitmask enum coarsely describing a video codec.
For H.264 codecs, this is the "profile": https://superuser.com/questions/489087/what-are-the-differences-between-h-264-profiles
For H.265 codecs, this is just an "H265" value for now.
Signature:
export declare enum VideoCodecType 
Enumeration Members
| Member | Value | Description | 
|---|---|---|
| Baseline | 1 | Indicates the H.264 "Baseline" profile. | 
| H264 | 7 | Bitmask for possible H.264 profile values. That is, you can check (codecType & H264 != 0) to detect H264 codecs. | 
| H265 | 8 | Indicates an H.265 codec. | 
| High | 4 | Indicates the H.264 "High" profile. | 
| Main | 2 | Indicates the H.264 "Main" profile. | 
