Layer 227
InputGroupCallStream
Identifies a media chunk of an RTMP-mode video chat, livestream or live story, see playing an RTMP livestream.
constructor
inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0?int video_quality:flags.0?int = InputFileLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| Call | InputGroupCall | RTMP-mode group call |
| TimeMs | long | Timestamp of the chunk to fetch, in milliseconds |
| Scale | int | Specifies the duration of the media segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms:= 1000 >> scale |
| VideoChannel | flags .0? int | group Call Stream Channel. channel value of the video channel to fetch; unified video uses channel 1. Omit together with video_quality to fetch audio |
| VideoQuality | flags .0? int | Selected video quality (0 = lowest, 1 = medium, 2 = best) |
Returns
InputFileLocationGogram Example
// Creating InputGroupCallStream constructor obj := &tg.InputGroupCallStream{ Call: &tg.InputGroupCall{}, TimeMs: int64(1234567890), Scale: 42, VideoChannel: nil, VideoQuality: nil, }