phone.getGroupCallStreamRtmpUrl

Get RTMP URL and stream key for RTMP livestreams. Can be used even before creating the actual RTMP livestream with phone.createGroupCall (the rtmp_stream flag must be set).

 Method schema is available as of layer 139. Switch ยป

Parameters

Name Type Description
peer InputPeer Peer to livestream into
revoke Bool Whether to revoke the previous stream key or simply return the existing one

Result

phone.GroupCallStreamRtmpUrl

Possible errors

Code Type Description
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

phone.createGroupCall

Create a group call or livestream