Layer 220
GroupCallStreamChannel
Info about an RTMP stream in a group call or livestream
constructor
groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
Parameters
| Name | Type | Description |
|---|---|---|
| Channel | int | Channel ID |
| Scale | int | Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 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 GroupCallStreamChannel constructor obj := &tg.GroupCallStreamChannel{ Channel: 0, Scale: 0, LastTimestampMs: int64(0), }