Nguyen Thi Mai Trang Lip6/Phare Thi-Mai-Trang - Nguyen@
Nguyen Thi Mai Trang Lip6/Phare Thi-Mai-Trang - Nguyen@
Plan
Introduction RTP RTCP
Introduction
Problems with telephony over the Internet
Quality of service is not guaranteed (delay, bandwidth, data loss, jitter)
RTP (1)
Real-time Transport Protocol, RFC 3550 Standardized in 2003 by the IETF (Internet Engineering Task Force) Protocol for real-time data transport over the Internet
Voice-over-IP Telephony Teleconferencing Streaming video
UPMC - M2 Rseaux - UE PTEL 4
RTP (2)
Client Server
RTP
RTP
RTP
RTP UDP
RTP UDP
UPMC - M2 Rseaux - UE PTEL
RTP UDP
6
A session can be unicast or multicast RTP translator or mixer can be used in a session to adapt the data transmission to participants conditions
10
Padding (1 bit)
1: The packet contains at least one octet of padding at the end and the last octet of the RTP packet contains the size of the padding part
Extension (1 bit)
1: one experimental header extension is appended at the end of the header
11
Marker (1 bit)
The interpretation of the Marker bit is defined by a profile
12
13
14
Mixer
Receive RTP packets from a group of sources and combine them into a single output, possibly changing the encoding, before forwarding the result
15
RTCP (1)
RTP Control Protocol, RFC 3550 Designed to be used with RTP and to control an RTP session RTP and RTCP packets belonging to the same session use the same multicast address but different port number
RTCP port number = RTP port number + 1
UPMC - M2 Rseaux - UE PTEL 16
RTCP (2)
Sender
RTP RTCP
Internet Internet
RT CP
P RT
CP RT
RT P
Receiver
Receiver
17
RTCP (3)
RTCP packets are sent periodically to provide
Periodic reporting of reception quality (e.g. number of packets sent, number of packets lost, inter-arrival jitter) Participant identification Other source description information Notification on changes in session membership Information needed to synchronize media streams
18
19
References
C. Perkins, RTP Audio and video for the Internet, Addison-Wesley 2003 J. F. Kurose, K. W. Ross, Computer networking: A top-down approach featuring the Internet, 3rd edition, Addison Wesley 2005
21