Multimedia in the Internet - Telecommunication Networks Group

Transcript

Multimedia in the Internet - Telecommunication Networks Group
Multimedia in the Internet
Multimedia traffic support
in the Internet
Andrea Bianco
Telecommunication Network Group
[email protected]
http://www.telematica.polito.it/
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 1
Application taxonomy
• Two types of applications from the traffic control
point of view
– Elastic applications (opportunistic)
• If resources are available, elastic applications try to exploit them
• If resources become scarce, elastic applications may reduce
their rate (e.g.: WWW, email, FTP…)
– Non-elastic applications (multimedia mostly belong to
this category)
• Require a minimum amount of resources
– If available, the application works properly
– If not available, the application is unable to work properly
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 2
Elastic applications
and real-time multimedia
• Elastic applications
• A user waits for info from a
server
• Small end-to-end delay
preferred (non
f d
fundamental)
t l)
• Instantaneous bit rate
required: low
• Packet losses recovered by
the transport protocol
through retransmission
– End-to-end delay increases
Andrea Bianco – TNG group - Politecnico di Torino
• Multimedia applications
• Two users interact (in
real time)
• Low delay fundamental
((a delayed
y packet is
equivalent to a lost
packet)
• Required bit-rate may
be significant
• May be robust to
(limited) packet losses
Network Management and QoS Provisioning - 3
Pag. 1
Multimedia in the Internet
Multimedia applications
• Conversational multimedia applications
– Voice or video over IP for audio/videoconference
• Multimedia interactive applications
– Distributed simulations, networked g
games
• Non-interactive multimedia applications
(streaming)
– Distance learning, video on demand
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 4
Applications and protocol stack
>4
4
3
<2
DNS
Telnet
http
ftp
Email
NFS
BGP
…
DNS
RTP
Real Audio
NFS
SNMP
Real time apps
TCP
UDP
IP
Non Specificati
Internet Protocol Suite
• Which transport protocol?
• UDP is suited for:
– Request-response (LAN)
– Multimedia applications
– Multicast
• TCP (reliability) is suited
for:
–
–
–
–
File transfer
Terminal emulation
Request-response (WAN)
Unicast
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 5
UDP protocol
• UDP (User Datagram Protocol ) permits application to
application (host to host) communication through datagram
transmission
• UDP provides a layer 4 service:
– Connectionless (out of sequence packets)
– Unreliable (packet lost)
– Low overhead (slim header)
• Optional checksum
• Application identification through :
– Source IP address, destination IP address, source UDP port,
destination UDP port
– No rate control
• No flow control (possible receiver saturation)
• No congestion control
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 6
Pag. 2
Multimedia in the Internet
UDP packet format
0
15
16
UDP Source Port
31
UDP Destination Port
UDP Message Length
UDP Checksum (opt.)
DATA
32 bit
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 7
TCP protocol
• TCP (Transmission Control Protocol ) is the
other Internet layer 4 protocol
• Main characteristics
– Connection-oriented
• full-duplex
– Reliable and in sequence delivery
• Retransmission
– Rate control
• Flow controlled by receiver
• Congestion control to avoid network saturation
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 8
TCP packet header
0
15
Source Port Number
16
31
Destin. Port Number
Sequence Number
Acknowledgement Number
HLEN Resv.
flags
Checksum
Receiver window
Urgent Pointer
32 bit
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 9
Pag. 3
Multimedia in the Internet
Problems for multimedia
• Packetization
– Voice sample of few bit
– Single image has very large size
• How to distinguish at the receiver among different coding
techniques?
• How
H
tto compensate
t for
f IP lilimitations?
it ti
?
– Packet losses
– Out of order delivery
– Packet duplication
• How to notify to the source the correct reception of data?
• How to deal with multicast?
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 10
Using TCP for multimedia?
• TCP is reliable, but
– Retransmissions cause delays
• TCP is rate controlled to avoid receiver and
network congestion, but
– The available bit rate for the multimedia application is
highly variable
• TCP does not support multicast
• TCP cannot be used for real-time multimedia
– Non real time multimedia can be treated as file transfer
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 11
UDP for multimedia
• UDP supports multicast, is not rate controlled
and does not use retransmissions, but
– Does not guarantees in-order delivery
– Does not detect and deals with packet losses
– Does not compensate for delay fluctuations
– Does not recognize multimedia contents
• IETF proposal: add RTP protocol over UDP
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 12
Pag. 4
Multimedia in the Internet
Example of
multimedia application
• IP telephony: three different problems
H.323
SIP
RTP
RTCP
– Establish multimedia connection, find IP
addresses (possibly multicast), negotiate the
type of coding and/or compression scheme
– Once
O
the
th connection
ti has
h been
b
established,
t bli h d
transfer audio packets
– Periodically send feedback information to the
transmitter (and to receivers) to indicate the
quality of the multimedia connection
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 13
RTP: Real-time Transport
Protocol
• Defined in RFC 1889
– a framework to build multimedia applications
• Provides some basic mechanisms for multimedia data
transfer
• It is not and independent protocol, but must be included in
pp
((no API defined))
the application
• Composed by two different (although related) protocols:
– RTP: deals with multimedia data transport (even UDP ports)
– RTCP: provides control and monitoring services (odd UDP ports)
– Feedback on packet delay and losses
– Request/response to coding modifications
– Helps in the management of the list of participants
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 14
RTP + RTCP
• Functions available
–
–
–
–
–
Payload identification (coding)
Sequence number management
Timestamp management
Monitoring and performance analysis
Participants identification
• Functions NOT available
– No QoS support
• No reliability, bit rate or delay guarantees
– No guarantee on correct and in order delivery
• Exploits UDP checksum to detect errors
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 15
Pag. 5
Multimedia in the Internet
RTP: packet losses
• UDP/IP do not guarantee zero losses
– Packets may be lost or delivered not in order
• RTP provides sequence numbers in the RTP
header to detect out of order delivery
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 16
RTP: delay jitter
• When the multimedia source sends
synchronous signals (e.g., voice), one packet
is sent every T seconds (source clock)
• The network introduces variable delays even
when there are no losses (router buffers)
R
• How to recover the synchronous signal at the
receiver?
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 17
RTP: delay jitter
• Possible solution: introduce a delay at the
receiver
Maximum delay Dm
• Use a playback buffer
– Received packets are
stored in the buffer
– One packet every T
seconds is played out
Delay
Df
– The buffer size emulates a fixed delay of Dm
seconds
– Dm is a compromise between low delays and low
losses
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 18
Pag. 6
Multimedia in the Internet
RTP: delay jitter
• If the source uses silence suppression?
– During talk spurt: one packet every T seconds
– During silence: no packets
• … a packet may be delayed because
– the network has delayed it
– it was preceded by a silence suppressed
• The sequence number is not enough
• A ‘timestamp’ field (conventional number which increases
at the transmitter according to the source clock) is needed
in the RTP header to recover information on the generation
instant of a packet
– Timestamp cannot be used as sequence number, since many
packets may have the same timestamp (e.g., a video frame
generates several packets with the same timestamp)
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 19
RTP: applications
• Applications using RTP may be multicast
• If the network does not support multicast addressing and
routing
– A unicast connection among each pair of participants to the multicast
session should be opened
– The number of connections increases quadratically with respect to
th number
the
b off users
• An application must specify two RTP parameters:
– RTP profile
• A table that associates to each type of payload (coding) a unique code
– How RTP should use the payload
• Information such as RTP packet size, number of samples contained in
each packet, etc
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 20
RTP: example of voice transmission
• Consider a multi-user voice conference over RTP
• Basic elements:
– One IP multicast address
• Users must register the IP multicast address to access the service
– Two UDP ports
• One even port for RTP, the next one (odd) for RTCP
– RTP does not specify how to choose these numbers
• Voice is produced according to a proper coding technique
• Voice samples are grouped in packets
– Sent to the multicast address
– The number of samples in each packet depends on the RTP
configuration
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 21
Pag. 7
Multimedia in the Internet
RTP: example of voice transmission
• Packets size should be smalI to keep under
control the packetization delay (should be
smaller than few tens of ms)
– Few samples in each packet
• Samples are encapsulated within an IP +
UDP + RTP headers
RTP header UDP header IP header
Andrea Bianco – TNG group - Politecnico di Torino
Samples
Network Management and QoS Provisioning - 22
RTP: example of voice transmission
• Through RTCP, each participants sends (in
multicast) statistical data
– It is possible to analyze service performance
• Code rate adaptation may be envisioned to adapt the
transmission to the measured quality
• Since the RTCP traffic is sent in multicast to
all participants (and is generated by all
participants) the required bit rate may be
significant and should be kept under control
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 23
RTP: example of audio-video
conference
• The standard suggests to use two
independent RTP flows
– Advantage: a user may access only one of the
two services
• It is mandatory to synchronize the two flows:
– The RTP timestamps of the two flows may be
used with this goal
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 24
Pag. 8
Multimedia in the Internet
RTP: terms and definitions
• An RTP session
– Allows the communication among a set of users through
RTP
– Is identified by a pair of transport addresses
• A transport address is a IP address-UDP port pair
• One transport address is used by RTP, the other one for RTCP
• The IP multicast address (if used) is the same for both pairs
• The host or end-system (ES) is the user system
where applications based on RTP are running.
Hosts generate and receive multimedia flows
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 25
RTP: terms and definitions
• An RTP translator is a coding translator
– They modify the data coding and retransmit the modified
data flow over the session
– May also operate as gateways
– The permit the service provisioning also over non IP
islands
• An RTP mixer is an RTP flow aggregator
– More RTP flows in input are mixed and generate a new
single RTP flow at output
• Typically, the bit rate of the new flow is smaller that the sum of
the bit rate of original flows
– Devices more complex that translator
• Correlated flow synchronization must be dealt with
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 26
RTP: terms and definitions
• RTP monitors observe externally the control
packet flow (RTCP packets)
– Do not participate in the RTP
transmission/reception process
• The are useful to collect information on the
QoS of the RTP session
– Useful for network providers to control the
network service quality
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 27
Pag. 9
Multimedia in the Internet
RTP: terms and definitions
• The SSRC (Synchronization SouRCe) is the unique
identifier of the data flow generator
– Is a 32 bit number contained in the RTP header
– Warning: mixers are characterized by an own SSRC
• The output data flow from a mixer is a new flow, with its proper
timestamp
– Within an RTP session, each SSRC must be unique
• Since it may be useful or needed to recover the
original source of a mixed RTP flow
– The CSRC (Contributing SouRCe) are fields optionally
contained in the RTP header that contain the SSRCs of
the original sources of the RTP mixed flow
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 28
RTP: Host
• The first host creates an RTP flow with
SSRC 18 and DVI4 code, the second host
sends RTP data with SSRC 39 and C16
code
SSRC 18
SSRC 39
Andrea Bianco – TNG group - Politecnico di Torino
18,DVI4
39,C16
Network Management and QoS Provisioning - 29
RTP: Translator
• The translator modifies the coding of the flow
with SSRC 39 from C16 to GSM
18,DVI4
18,DVI4
,
39,GSM
39,
GSM
39,C16
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 30
Pag. 10
Multimedia in the Internet
RTP: Mixer
• The RTP flow generated by the mixer has
SSRC 12 and CSRC 18 e 39
18,DVI4
8,
12,GSM,(18,39)
SSRC=12
39,GSM
39,
GSM
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 31
RTP packet format
32 bits
Marker
May be used to indicate the
beginning/end of an information
(video, picture)
PType
Indicates the type of coding used in
the packet payload
Source port
Destination port
Checksum
Length
V PX CC
Sequence number
M PType
Timestamp
Synchronization source (SSRC) identifier
Sequence number
Monotonically
y increasing
g sequence
q
(+1 for each RTP PDU)
UDP
Header
8B
RTP
Header
12 B
Possible header extension
Timestamp
Logical time instant in which the information
included in the payload was generated.. Several
PDUs may have the same timestamp.
Payload
SSRC
Unique identifier of the source which has
generated the payload. Id chosen randomly
at the source.
Content in a format dependent form the
application
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 32
RTP header
V PX CC M
PT
Sequence Number
Timestamp
SSRC
CSRC_1
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 33
Pag. 11
Multimedia in the Internet
RTP header
• V (Version) (2bit)
– Version of the RTP protocol
• P (padding) (1bit)
– Padding contained in the payload
• X (eXtension header) (1bit)
– Proprietary
op e a y
• CC (CSRC count) (4 bit)
– Number of CSRC field contained in the header
• Marker (1 bit)
– Use dependent on the RTP session profile
• PT (Payload Type) (7 bit)
– Type of coding used in the packet payload
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 34
RTP header
• Sequence number (16 bit)
– The initial sequence number X is chosen
randomly at session startup
– X is inserted in the sequence number field of the
generated RTP p
packet
first g
– The second packet will have sequence number
X+1, the third X+2...
• The random extraction minimizes the probability of
choosing the same number previously selected in an
older RTP session (which may have some packets
still in the network)
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 35
RTP header
• Timestamp (32 bit)
– Represents the “logical” time instant in which the packet
payload was generated. More packets my have the same
timestamp value
– The first timestamp value is randomly selected at RTP
session startup
– The timestamp refers to the creation time instant of the
first sample contained in the packet
– Example: if each packet of an RTP phone session
contains 160 samples:
• If packet I has timestamp X, then packet I+1 will have timestamp
X+160
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 36
Pag. 12
Multimedia in the Internet
RTP header
• SSRC (32 bit)
– Identifier of the source that has created the RTP
payload. Randomly chosen at the source at
session startup. Algorithm defined to solve
contentions.
• CSRC (32 bit)
– Optional field
– Identifier of the sources that have originally
created the payload from which the current
payload was derived through a mixing operation
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 37
RTCP: objectives
• Quality of service and congestion control
– RTCP packets are used as “low frequency” ACKs to
signal the reception quality
– On the basis of RTCP “report”, the server may adapt the
coding to the communication status
• Identification
– Provide identification information on RTP session
participants (signalling)
• Estimate the number of participants to the multicast
session
– Needed to control the transmission bit rate required by
RTCP control signals which would increase too much if
the number of participants increases too much
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 38
RTP Control Protocol (RTCP)
• Control protocol for RTP data flow
• Defines the information exchange among the
source and the destinations
• Several types of RTCP packets:
– SR (S
(Sender
d Report):
R
t) sentt b
by allll active
ti sources tto allll
participants; includes TX and RX statistics
– RR (Receiver Report): sent by all receivers to all
participants; includes RX statistics
– SDES (Source DEScriptor): source description through a
unique identifier
– BYE: session ends or one participant leaves the session
– APP: application-specific
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 39
Pag. 13
Multimedia in the Internet
RTCP Sender Report
• SR is used to provide information on data
recently sent
• A SR contains:
– An absolute timestamp (NTP timestamp) of the
data sending time
– Relative timestamp referring to the current RT
flow
– Amount of data sent from RTP session start-up
• Total number of RTP packets sent
• Total number of byte sent
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 40
RTCP Receiver Report
• RR are sent to inform senders on the quality of the
RTP session as seen by receivers
• A RR is sent to each source from which a SR was
received
• A RR contains:
–
–
–
–
–
–
–
Identification of the received source
Timestamp of the last received SR
Delay from the reception of the last SR
Highest sequence number received from the source
Number of lost RTP packets
Fraction of lost RTP packets
Estimate of RTP packets jitter
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 41
RTCP SDES
• Used by sources and destinations to identify
themselves
• An SDES may contain:
–
–
–
–
–
–
–
CNAME: user identifier ([email protected])
NAME: name of the person using the application
EMAIL
PHONE
LOC: geographical location of the user
TOOL: application using RTP
NOTES
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 42
Pag. 14
Multimedia in the Internet
RTCP: report transmission speed
• Four rules must be followed to generate
RTCP packets
– The RTCP traffic should be limited to a given
percentage of the data traffic (5%)
– 25% of the session bit rate is devoted to SR
packets, the remaining part to other packets
– An RTCP packet cannot be sent earlier than 5s
after the previous RTCP packet transmission
– A variable time P should be added to the waiting
time
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 43
RTCP: report transmission speed
• P is computed as a random number
uniformly chosen between 0,5 e 15,
multiplied by Tsr
T
sr
=
# Sender
1
1
( RTCP _ Avg _ Packet _ Size )
Session _ BitRate 0 , 25 0 .05
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 44
Multimedia traffic
• Interactive
– IP telephony
• Delay management
• Streaming
– RTSP
• Playback control
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 45
Pag. 15
Multimedia in the Internet
Interactive Multimedia Traffic:
Internet Phone
• Voice as input: sounds and silence period alternate
• Packets generated at a constant rate or when the source
emitting power is above a given threshold :
– E.g.: 20 ms of voice sample at 8kb/s
• Packets are delayed (should be compensated) and lost:
– Network losses,, due to congestion
g
• max tolerable may be 10%
– Losses due to excessive delays (IP datagram received too late for
playout)
• Max tolerable is roughly 400 ms
• Compensation techniques
– At the transmitter (adaptive coding)
– At the receiver (buffering)
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 46
Reaction to losses, delay and jitter
• Use of a variable bit-rate coder
– Send small size packets when congestion is detected
and the experienced delay is high
– Send large size packets if the network is lightly loaded
• Quality of reception estimate mechanisms are
needed
• The transmitter bit rate should be controlled
according to:
– Instantaneous and/or average loss rate
– Absolute or relative delay
– Delay jitter
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 47
Delay and jitter compensation:
buffering
Variable
network
delay
Voice
reception
Voice in
buffer
CBR voice
transmission
CBR voice
Playback
Play-out delay at the
receiver
time
• Buffering at receiver side, the play-out delay
compensate the network delay and jitter
– Fixed play-out delay
– Adaptive play-out delay
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 48
Pag. 16
Multimedia in the Internet
Fixed playout delay
• The receiver plays out each voice sample
exactly q seconds after the sample
generation
– If the sample has timestamp t, it is played out at
t+q
– If the sample is received after t+q, it is
considered as lost
• The value assumed by q:
– if q is large: less packets are lost, higher delay,
more buffering needed
–
if
q is small: improved interactivity
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 49
Fixed playout delay
packets
loss
packets
generated
packets
received
playout schedule
p' - r
playout schedule
p-r
time
r
p
Andrea Bianco – TNG group - Politecnico di Torino
p'
Network Management and QoS Provisioning - 50
Adaptive playout delay
• Objective: minimize play-out delay while
keeping low the loss rate
– Estimate the network delay, to determine the
play-out delay at speech startup
– Compress or extend the silence periods
– Samples always reproduced after 20ms during
activity periods
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 51
Pag. 17
Multimedia in the Internet
Multimedia streaming
• Streaming
– Multimedia file stored at the source
– Sent to the client
– File play-out starts when the file transfer is under
way
– Constraint: missing data should reach the
receiver before the play-out ends
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 52
Multimedia streaming
1. Stored
video
2. Video
2
sent
3. Received video,
Reproduced by the client
Network delay
time
Video
server
Andrea Bianco – TNG group - Politecnico di Torino
streaming: the client starts playing
out the video while the server is still
sending data
Network Management and QoS Provisioning - 53
Multimedia: the simpler approach
• Audio or video
stored in a file
• File transferred
as an HTTP
object
– Fully received
at the client
– Passed to the
player
Non “streaming” approach:
• No pipelining, high start-up delay
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 54
Pag. 18
Multimedia in the Internet
Multimedia: streaming approach
• The client browser receives the metafile containing the
multimedia streaming file description
• The browser passes the metafile to the player
• The player contacts the streaming server
• The server sends data in streaming
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 55
Multimedia streaming with
buffering at the client side
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 56
User control of streaming
multimedia: RTSP protocol
• Real Time Streaming Protocol (RTSP): RFC 2326
– Supports user control: rewind, FF, pause, resume
– Out-of-band protocol:
• Exploits port 544 for control and signalling messages
• Another port for multimedia stream
– Exploits either TCP or UDP for control connections
• Operations
– Metafile sent to the browser
– The browser activates the proper player
– The player activates a control connections and an RTSP
data connection with the server
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 57
Pag. 19
Multimedia in the Internet
Metafile example
<title>Twister</title>
<session>
<group language=en lipsync>
<switch>
<track type=audio
e="PCMU/8000/1"
src =
"rtsp://audio
rtsp://audio.example.com/twister/audio.en/lofi
example com/twister/audio en/lofi">
>
<track type=audio
e="DVI4/16000/2" pt="90 DVI4/8000/1"
src =
"rtsp://audio.example.com/twister/audio.en/hifi">
</switch>
<track type="video/jpeg"
src =
"rtsp://video.example.com/twister/video">
</group>
</session>
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 58
RTSP operation
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 59
RTSP messages: example
C: SETUP rtsp://audio.example.com/twister/audio RTSP/1.0
Transport: rtp/udp; compression; port=3056; mode=PLAY
S: RTSP/1.0 200 1 OK
Session 4231
C: PLAY rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0
Session: 4231
Range: npt=0C: PAUSE rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0
Session: 4231
Range: npt=37
C: TEARDOWN rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0
Session: 4231
S: 200 3 OK
Andrea Bianco – TNG group - Politecnico di Torino
Network Management and QoS Provisioning - 60
Pag. 20