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.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
live_story | true | いいえ | Obtain credentials for an RTMP live story instead of a video chat/livestream |
peer | InputPeer | はい | Peer that will host the RTMP video chat, livestream or live story |
revoke | Bool | はい | Whether to invalidate the previous stream key and generate a new one, instead of returning the existing key |
レスポンス
phone.GroupCallStreamRtmpUrl
MTProto RPC
- 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.