Professional Documents
Culture Documents
Transport Layer
Internet Transport
Protocols
two main protocols in the transport layer :
• connection-less protocol :
User Datagram Protocol (UDP)
• connection-oriented protocol :
Transmission Control Protocol
(TCP)
23.03.2020 16:58 225
Computer Networks
Transport Layer
Internet Transport Protocols : UDP
• connection-less (no setup /
of the user
datagram optional
Position of RTP
in protocol stack
23.03.2020 16:58 Packet nesting 241
Computer Networks
Transport Layer
Internet Transport Protocols :
RTP RTP
library multiplexes the streams, encodes
them into RTP packets and stuffs them
into sockets
at the other end of socket in the OS
kernel, UDP packets are generated
and embedded in IP packets
IP packets are put in Ethernet frames
for transmission
23.03.2020 16:58 242
Computer Networks
Transport Layer
Internet Transport Protocols :
RTP RTP
basic function : time-stamping, sequencing
and multiplexing several real-time data
streams onto a single stream of UDP
packets
UDP stream can be sent by unicasting
/ multicasting
a transport protocol implemented in
the application
23.03.2020 16:58 layer ! 243
Computer Networks
Transport Layer
Internet Transport Protocols :
RTP RTP
sequence number : each packet sent in an
RTP stream is given a number 1 higher
than its predecessor (first number chosen
randomly) to identify missing packets …..
which are interpolated at the
destination… because retransmission is
not practical payload may contain
multiple samples, encoded; header field is
23.03.2020 16:58
available to specify encoding type 244
Computer Networks
Transport Layer
Internet Transport Protocols :
RTP RTP
time stamping :
first sample (random number) in each packet
relative time stamping
destination does buffering,
replaying reduces jitter
enables synchronization of multiple
streams (e.g. 1 video + 2 audio streams)
23.03.2020 16:58 245
Computer Networks
Transport Layer
Internet Transport Protocols :
RTP RTP : header 3 x 32-bits
RTP