MadelineProtoDocs/docs/API_docs/constructors/groupCallStreamChannel.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
groupCallStreamChannel Info about an RTMP stream in a group call or livestream true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: groupCallStreamChannel

Back to constructors index

Info about an RTMP stream in a group call or livestream

Attributes:

Name Type Required Description
channel int Yes Channel ID
scale int Yes Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale.
last_timestamp_ms long Yes Last seen timestamp to easily start fetching livestream chunks using inputGroupCallStream

Type: GroupCallStreamChannel

Example:

$groupCallStreamChannel = ['_' => 'groupCallStreamChannel', 'channel' => int, 'scale' => int, 'last_timestamp_ms' => long];