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).

phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
---functions---
phone.getGroupCallStreamRtmpUrl#5af4c73a flags:# live_story:flags.0?true peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
live_story flags.0?true  
peer InputPeer Peer to livestream into
revoke Bool Whether to revoke the previous stream key or simply return the existing one

Result

phone.GroupCallStreamRtmpUrl

Only users can use this method

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