Layer 227
GroupCallStreamChannelObj
Describes an available RTMP stream channel and its current playback timestamp, see playing an RTMP livestream.
constructor
groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
Parameters
| Name | Type | Description |
|---|---|---|
| Channel | int | Stream channel ID, used as a source of the synthetic unified video source group and as input Group Call Stream. video_channel when fetching the corresponding video segment |
| Scale | int | Specifies the duration of the media segment to fetch. To obtain this value in milliseconds, bitshift 1000 to the right scale times: duration_ms:= 1000 >> scale. |
| LastTimestampMs | long | Last seen timestamp to easily start fetching livestream chunks using input Group Call Stream |
Returns
GroupCallStreamChannelGogram Example
// Creating GroupCallStreamChannelObj constructor obj := &tg.GroupCallStreamChannelObj{ Channel: 42, Scale: 42, LastTimestampMs: int64(1234567890), }