FREE & OPEN
THE OPEN PROTOCOL PLAYGROUND

Make every packet make sense.

Explore the conversations that connect our world. One packet at a time.

66 protocolsZero paywalls. Endless curiosity.

RTMP

IoT & mediaIntermediate

Establish a streaming connection and publish media chunks.

SIMULATION01 / 04
Loading topology…
0.0s / 4.2s
01
STEP 1 OF 4Client → Server / peer

C0 + C1 handshake

The client sends a version byte and first handshake block over TCP.

#TIMESOURCE → DESTINATIONMESSAGE
0.000192.0.2.10198.51.100.20C0 + C1 handshake
1.400198.51.100.20192.0.2.10S0 + S1 + S2
2.800192.0.2.10198.51.100.20C2 + connect
4.200192.0.2.10198.51.100.20createStream + publish

Establish a streaming connection and publish media chunks.

Explain C0 + C1 handshake and distinguish it from createStream + publish.

Prerequisites: Ethernet

Ready to test your understanding?

Rebuild the exchange. Read the fields. Find the mistakes.

RTMP: protocol guide / panduan protokol

Establish a streaming connection and publish media chunks.

Bangun koneksi streaming dan publikasikan chunk media.

Communication walkthrough / Alur komunikasi

  1. C0 + C1 handshake

    The client sends a version byte and first handshake block over TCP.

    Klien mengirim byte versi dan blok handshake pertama melalui TCP.

  2. S0 + S1 + S2

    The server returns its handshake blocks; the client follows with C2.

    Server mengirim blok handshake; klien menyusul dengan C2.

  3. C2 + connect

    After handshake completion, an AMF command selects the application.

    Setelah handshake selesai, perintah AMF memilih aplikasi.

  4. createStream + publish

    The client requests a stream then publishes audio/video messages as chunks; replies are condensed.

    Klien meminta stream lalu memublikasikan pesan audio/video sebagai chunk; balasan diringkas.

Source and simulation scope

This is a simplified, deterministic teaching scenario. Timing is illustrative. Messages grouped within one event are explicitly condensed. Hexadecimal fixtures, where shown, contain only the indicated protocol ADU, not a full network capture. No PCAP files are supplied.

RTMP · technical reference ↗