RTMP

Real-Time Messaging ProtocolApplication layer · OSI 7

Chunked live video and audio ingest to streaming servers

Step 1 of 6: Run TCP and RTMP v3 handshakes. After connecting TCP to port 1935 , OBS swaps unencrypted RTMP version 3 handshakes: C0+C1 (1,537 B) , S0+S1+S2 (3,073 B) , and C2 echoing 1,536 random bytes.
0.0 s / 23.7 s
OBS streamer192.168.1.10
HandshakeResponseControlRequestData
Draft topic: verification notes
  • Marked draft: Adobe's 2012 RTMP 1.0 specification PDF is not hosted on an active allowlisted primary Adobe spec URL; TCP port 1935 registration verified via IANA, while RTMP v3 handshake and AMF0 chunk sizing match the research sheet for final primary-spec verification.

Overview

carries live broadcasts from streaming apps such as OBS up to an ingest server. Over one TCP port 1935 connection, commands, H.264 video, and AAC sound ride together sliced into compact chunks.

Originally built for Flash, RTMP multiplexes AMF0 commands and chunked video/audio frames over TCP port 1935. Because standard RTMP transmits the stream key in plain text, live platforms wrap it inside TLS as RTMPS.

Key facts

Layer
Application (TCP port 1935)
Encrypted mode
RTMPS (wrapped in TLS)
Control format
AMF0 binary commands
Chunk size
Negotiated (often 4,096 bytes)
Registry
IANA port 1935; Adobe 2012 spec

Live video multiplexed in one TCP stream

OBS ran the RTMP handshake, joined the live app, opened Stream 1, published with its stream key, and uploaded chunked H.264 and AAC frames until deleteStream ended the broadcast.

Demonstrated RTMP v3 handshake, 4 KB chunking, AMF0 connect/createStream/publish flow, 30 KB key-frame upload, and deleteStream teardown.

Socket
Single TCP port 1935 (RTMPS uses TLS)
Media stream
Stream ID 1
Chunk size
4,096 bytes
Key protection
Use RTMPS to encrypt stream keys

Try it yourself

Check RTMP / RTMPS ingest reachability

Verify TLS handshake and ingest readiness on an RTMPS endpoint using OpenSSL.

openssl s_client -connect live.example.net:443 -brief