tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::alternativeVideo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::alternativeVideo:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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", "av1", or "av01".
 
object_ptr< filehls_file_
 HLS file describing the video.
 
object_ptr< filevideo_
 File containing the video.
 

Static Public Attributes

static const std::int32_t ID = 483379470
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes an alternative re-encoded quality of a video file.

Definition at line 1171 of file td_api.h.

Constructor & Destructor Documentation

◆ alternativeVideo() [1/2]

td::td_api::alternativeVideo::alternativeVideo ( )

Describes an alternative re-encoded quality of a video file.

◆ alternativeVideo() [2/2]

td::td_api::alternativeVideo::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.

Parameters
[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", "av1", or "av01".
[in]hls_file_HLS file describing the video.
[in]video_File containing the video.

Member Function Documentation

◆ store()

void td::td_api::alternativeVideo::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ codec_

string td::td_api::alternativeVideo::codec_

Codec used for video file encoding, for example, "h264", "h265", "av1", or "av01".

Definition at line 1188 of file td_api.h.

◆ height_

int32 td::td_api::alternativeVideo::height_

Video height.

Definition at line 1186 of file td_api.h.

◆ hls_file_

object_ptr<file> td::td_api::alternativeVideo::hls_file_

HLS file describing the video.

Definition at line 1190 of file td_api.h.

◆ ID

const std::int32_t td::td_api::alternativeVideo::ID = 483379470
static

Identifier uniquely determining a type of the object.

Definition at line 1212 of file td_api.h.

◆ id_

int64 td::td_api::alternativeVideo::id_

Unique identifier of the alternative video, which is used in the HLS file.

Definition at line 1182 of file td_api.h.

◆ video_

object_ptr<file> td::td_api::alternativeVideo::video_

File containing the video.

Definition at line 1192 of file td_api.h.

◆ width_

int32 td::td_api::alternativeVideo::width_

Video width.

Definition at line 1184 of file td_api.h.


The documentation for this class was generated from the following file: