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

Inherits Function.

Description

Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.

Returns object_ptr<FilePart>.

Public Fields

int32 group_call_id_
 Group call identifier.
 
int53 time_offset_
 Point in time when the stream segment begins; Unix timestamp in milliseconds.
 
int32 scale_
 Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds.
 
int32 channel_id_
 Identifier of an audio/video channel to get as received from tgcalls.
 
object_ptr< GroupCallVideoQualityvideo_quality_
 Video quality as received from tgcalls; pass null to get the worst available quality.
 

Public Types

using ReturnType = object_ptr< filePart >
 Typedef for the type returned by the function.
 

Public Instance Methods

 getGroupCallStreamSegment ()
 
 getGroupCallStreamSegment (int32 group_call_id_, int53 time_offset_, int32 scale_, int32 channel_id_, object_ptr< GroupCallVideoQuality > &&video_quality_)
 
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 = -2077959515
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ getGroupCallStreamSegment() [1/2]

Default constructor for a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.

Returns object_ptr<FilePart>.

◆ getGroupCallStreamSegment() [2/2]

getGroupCallStreamSegment ( int32  group_call_id_,
int53  time_offset_,
int32  scale_,
int32  channel_id_,
object_ptr< GroupCallVideoQuality > &&  video_quality_ 
)

Creates a function, which returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.

Returns object_ptr<FilePart>.

Parameters
[in]group_call_id_Group call identifier.
[in]time_offset_Point in time when the stream segment begins; Unix timestamp in milliseconds.
[in]scale_Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds.
[in]channel_id_Identifier of an audio/video channel to get as received from tgcalls.
[in]video_quality_Video quality as received from tgcalls; pass null to get the worst available quality.

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: