Link Search Menu Expand Document

Constructor: groupCallStreamChannel

Back to constructors index

Info about an RTMP stream in a group call or livestream

Attributes:

NameTypeRequiredDescription
channelintYesChannel ID
scaleintYesSpecifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale.
last_timestamp_mslongYesLast seen timestamp to easily start fetching livestream chunks using inputGroupCallStream

Type: GroupCallStreamChannel

Example:

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