Beruflich Dokumente
Kultur Dokumente
Internet Telephony,
Real Time Protocol
1
Internet Telephony
Introduction
2
¾Packets get generated only during the
talk spurts,
Every 20 msec, the sender gathers the data
into chunks ==> 160 bytes per chunk
(maximum).
¾Application-layer header is added to
each chunk.
¾The data chunk and the header is
encapsulated into a UDP packet.
¾The UDP packets are transmitted.
• To summarize:
¾An UDP packet gets transmitted every
20 msec during a talk spurt.
¾No packets generate during idle
periods.
3
Packet Loss Analysis
Handling Jitters
4
Protocols Used
5
Basic Idea
SIP Messages
6
Sender / Receiver Addressing
• Three parts:
¾Establishing a session
Uses a 3-way handshake protocol.
¾Communication
Caller and callee uses two temporary ports
for the purpose.
¾Terminating the session
Either party can initiate this.
7
INVITE
OK
C C
ACK A
A
L L
L L
E Exchange of voice packets E
R E
BYE
8
Basic Idea
G
A
T
Internet E Telephone
W Network
A
Y
9
Various Protocols Used
Typical Operation
10
Real Time Protocol (RTP)
Introduction
11
RTP
Transport
Layer
UDP
IP
12
Some Problems
RTP/RTCP : Introduction
13
¾Real-time Transport Control Protocol
(RTCP):
This is the control part of RTP, and provides
the following functions:
Data delivery monitoring
Source identification
Allow session member to calculate the
rate to send status messages
14
RTP Packet Header
32 bits
Timestamp
15
Design Choice: TCP or RTP
• RTP:
¾Specifically addresses this issue.
¾The protocol is designed to focus on:
Supplying applications with constant data
rate.
Giving applications feedback on the quality
of a link (can help adapt to changing link
conditions).
16
RTP: Some Assumptions Made
• Assumption 1
¾The entities are fully connected to each
other. This allows a feedback path for
control/status information between them.
Entities broadcast its control/status information
to all other entities.
To limit the total amount of control traffic, the
amount of network bandwidth allocated for
control information is controlled.
• Assumption 2
¾All entities are considered to be equal.
Constant rate for all entities to receive
control information.
No variation among entities is assumed.
17
How to Broadcast Control Info?
18
Satellite
E1 E1 E1 E1
Satellite
E1 sends to
satellite
E1 E1 E1 E1
19
Satellite
Satellite
broadcasts
E1 E1 E1 E1
Summarization
20
SOLUTIONS TO QUIZ
QUESTIONS ON
LECTURE 36
21
Quiz Solutions on Lecture 36
22
Quiz Solutions on Lecture 36
8. What is RTSP?
23
Quiz Solutions on Lecture 36
PLAY
SERVER
CLIENT
TEARDOWN
QUIZ QUESTIONS ON
LECTURE 37
24
Quiz Questions on Lecture 37
25