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.
Cara skema tersedia sebagai lapisan 217. Tukar »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| live_story | flags.0?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 |
| 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. |