phone.getGroupCallStreamRtmpUrl #

Get the RTMP URL and stream key used by the single external streamer that publishes all audio and video for an RTMP-mode video chat, livestream or live story.

See here » for the full flow.

Layer 223

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 #

NameTypeDescription
flags#Flags, see TL conditional fields
live_storyflags.0?trueObtain credentials for an RTMP live story instead of a video chat/livestream
peerInputPeerPeer that will host the RTMP video chat, livestream or live story
revokeBoolWhether to invalidate the previous stream key and generate a new one, instead of returning the existing key

Result #

phone.GroupCallStreamRtmpUrl

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400PEER_ID_INVALIDThe provided peer id is invalid.

Group calls #

How to start, join and manage group calls and video chats.