Inherits Object.
Describes an alternative re-encoded quality of a video file.
Public Fields | |
| int64 | id_ |
| Unique identifier of the alternative video, which is used in the HLS file. | |
| int32 | width_ |
| Video width. | |
| int32 | height_ |
| Video height. | |
| string | codec_ |
| Codec used for video file encoding, for example, "h264", "h265", or "av1". | |
| object_ptr< file > | hls_file_ |
| HLS file describing the video. | |
| object_ptr< file > | video_ |
| File containing the video. | |
Public Instance Methods | |
| alternativeVideo () | |
| alternativeVideo (int64 id_, int32 width_, int32 height_, string const &codec_, object_ptr< file > &&hls_file_, object_ptr< file > &&video_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 483379470 |
| Identifier uniquely determining a type of the object. | |
| alternativeVideo | ( | ) |
Describes an alternative re-encoded quality of a video file.
| alternativeVideo | ( | int64 | id_, |
| int32 | width_, | ||
| int32 | height_, | ||
| string const & | codec_, | ||
| object_ptr< file > && | hls_file_, | ||
| object_ptr< file > && | video_ | ||
| ) |
Describes an alternative re-encoded quality of a video file.
| [in] | id_ | Unique identifier of the alternative video, which is used in the HLS file. |
| [in] | width_ | Video width. |
| [in] | height_ | Video height. |
| [in] | codec_ | Codec used for video file encoding, for example, "h264", "h265", or "av1". |
| [in] | hls_file_ | HLS file describing the video. |
| [in] | video_ | File containing the video. |
|
finalvirtual |