Inherits Function.
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< GroupCallVideoQuality > | video_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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -2077959515 |
Identifier uniquely determining a type of the object. | |
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 | ( | 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>.
[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. |
|
finalvirtual |