get_video_chat_stream_segment


Description:

public async Data get_video_chat_stream_segment (int32 group_call_id, int64 time_offset, int32 scale, int32 channel_id, GroupCallVideoQuality video_quality) throws TDLibError

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

Parameters:

group_call_id

Group call identifier

time_offset

Point in time when the stream segment begins; Unix timestamp in milliseconds

scale

Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds

channel_id

Identifier of an audio/video channel to get as received from tgcalls

video_quality

Video quality as received from tgcalls; pass null to get the worst available quality