Learn about RTP, a protocol for real-time multimedia data, and RTCP, for monitoring network conditions and synchronization. Topics include packet formats, SSRC attacks, calculating RTT, and more.
01 / 79Real-Time Transport Protocol (RTP) and Control Protocol (RTCP) Overview
1 / 17
Télécharger la présentation
Real-Time Transport Protocol (RTP) and Control Protocol (RTCP) Overview
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
RTP • “Real-Time Transport Protocol” (not really a transport protocol) • Provides • source identification • sequence number • time stamping • payload identification
RTP Header • media timestamp: 32 bits • the instant the first byte in this packet is captured
RTP Header • SSRC: 32 bits • random, unique in a session • identify a source (not host!)
RTP Header • marker bit: • depends on payload • e.g. beginning of frame
On Receiving RTP packet • check SSRC • new source? • existing source? which one? • check payload type • has format been changed? • which decoder should I use?
SSRC Attack! • Send gazillion packets, each with different SSRC • Remedy: • consider as new source only after K packets • soft-states related keywords from last lecture security robustness soft-states
Calculating Packet Loss Ratio • for each source, keep • first sequence number S0 • last sequence number Slast • Expected packets = Slast – S0 • Count how many received packets
Encoder Decoder Middlebox Receiver Sender Network You are Here
How to Send? open socket while not done read data add RTP header send
What’s Wrong? • Send more than network can handle • May cause TCP to reduce congestion window • No reaction to packet loss? • Are all packets equally important? • Burst of packets
Today’s Topic • How to adapt sending rate to network conditions