An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only.Download presentation by click this link.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.
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