Web SDK - VideoCodecType

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.


export declare enum VideoCodecType 

Enumeration Members

Baseline1Indicates the H.264 "Baseline" profile.
H2647Bitmask for possible H.264 profile values. That is, you can check (codecType & H264 != 0) to detect H264 codecs.
H2658Indicates an H.265 codec.
High4Indicates the H.264 "High" profile.
Main2Indicates the H.264 "Main" profile.