RTSP Example Scenario: metafile communicated to web browser browser launches player player sets up an RTSP control connection,data connection to streaming server 7:Multimedia Networking 7-26
7: Multimedia Networking 7-26 RTSP Example Scenario: metafile communicated to web browser browser launches player player sets up an RTSP control connection, data connection to streaming server
Metafile Example <title>Twister</title> <session> <group language=en lipsync> <switch> <track type=audio e="PCMU/8000/1" src "rtsp://audio.example.com/twister/audio.en/lofi"> <track type=audio e="DVT4/16000/2"pt:"90DVT4/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> 7:Multimedia Networking 7-27
7: Multimedia Networking 7-27 Metafile Example <title>Twister</title> <session> <group language=en lipsync> <switch> <track type=audio e="PCMU/8000/1" src = "rtsp://audio.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>
RTSP Operation HTTP GET Web Web browser presentation desc. server SETUP PLAY media media stream media player server PAUSE TEARDOWN client server 7:Multimedia Networking 7-28
7: Multimedia Networking 7-28 RTSP Operation
RTSP Exchange Example C:SETUP rtsp://audio.example.com/twister/audio RTSP/1.0 Transport:rtp/udp;compression;port=3056;mode=PLAy S:RTSP/1.0 2001 OK Session 4231 C:PLAY rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0 Session:4231 Range:npt=0- C: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 5:20030K 7:Multimedia Networking 7-29
7: Multimedia Networking 7-29 RTSP Exchange 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=0- C: 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
Chapter 7 outline 7.1 Multimedia Networking ▣7.6 Beyond Best Applications Effort 7.2 Streaming stored 7.7 Scheduling and audio and video Policing Mechanisms 7.3 Real-time Multimedia: 7.8 Integrated Internet Phone case study Services and 7.4 Protocols for Real- Differentiated Time Interactive Services Applications ▣7.9RSVP RTPRTCP SIP 7.5 Distributing Multimedia:content distribution networks 7:Multimedia Networking 7-30
7: Multimedia Networking 7-30 Chapter 7 outline 7.1 Multimedia Networking Applications 7.2 Streaming stored audio and video 7.3 Real-time Multimedia: Internet Phone case study 7.4 Protocols for RealTime Interactive Applications RTP,RTCP,SIP 7.5 Distributing Multimedia: content distribution networks 7.6 Beyond Best Effort 7.7 Scheduling and Policing Mechanisms 7.8 Integrated Services and Differentiated Services 7.9 RSVP