mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
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
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];