List of all members | Public Fields | Public Instance Methods | Static Public Attributes
alternativeVideo Class Referencefinal

Inherits Object.

Description

Describes an alternative reencoded quality of a video file.

Public Fields

int32 width_
 Video width.
 
int32 height_
 Video height.
 
string codec_
 Codec used for video file encoding, for example, "h264", "h265", or "av1".
 
object_ptr< filehls_file_
 HLS file describing the video.
 
object_ptr< filevideo_
 File containing the video.
 

Public Instance Methods

 alternativeVideo ()
 
 alternativeVideo (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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ alternativeVideo() [1/2]

Describes an alternative reencoded quality of a video file.

◆ alternativeVideo() [2/2]

alternativeVideo ( int32  width_,
int32  height_,
string const &  codec_,
object_ptr< file > &&  hls_file_,
object_ptr< file > &&  video_ 
)

Describes an alternative reencoded quality of a video file.

Parameters
[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.

Method Documentation

◆ store()

void 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 TlObject.


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