At a high level, Real-Time Messaging Protocol works as a three-step process. Once RTMP establishes a TCP connection it performs a handshake by exchanging three packets between the client and the server. ... The client sends one final packet that is a copy of the timestamp packet and the server returns it.
How does an RTMP work?
RTMP is a TCP-based protocol which maintains persistent connections and allows low-latency communication. To deliver streams smoothly and transmit as much information as possible, it splits streams into fragments, and their size is negotiated dynamically between the client and server.
How does Streaming Protocol work?
A streaming protocol is a standardized method of delivering different types of media (usually video or audio) over the internet. Essentially, a video streaming protocol sends “chunks” of content from one device to another.