How RTMP works
RTMP is what OBS and many encoders use to push a live stream to YouTube or Twitch: a handshake, a connect with the stream key, then a constant flow of audio and video chunks.
Layer: Application (OSI layer 7) · Port: 1935 · Transport: TCP · Format: Binary chunks · Standard: Adobe RTMP spec
RTMP packet flow
- RTMP Client → Stream Ingest: Handshake C0/C1
- RTMP Stream Ingest → Client: Handshake S0/S1/S2
- RTMP Client → Stream Ingest: connect('live') + publish(stream key)
- RTMP Client → Stream Ingest: Video + audio chunks
Other protocols: HTTP · WebSocket · QUIC · SMTP · IMAP · POP3 · FTP · SMB · WebRTC · SIP · RTSP · MQTT · Modbus · PPPoE