RTMP: protocol guide / panduan protokol
Establish a streaming connection and publish media chunks.
Bangun koneksi streaming dan publikasikan chunk media.
Communication walkthrough / Alur komunikasi
- 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.
- S0 + S1 + S2
The server returns its handshake blocks; the client follows with C2.
Server mengirim blok handshake; klien menyusul dengan C2.
- C2 + connect
After handshake completion, an AMF command selects the application.
Setelah handshake selesai, perintah AMF memilih aplikasi.
- 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 ↗