SlideShare a Scribd company logo
1 of 26
CS 414 - Spring 2010
CS 414 – Multimedia Systems Design
Lecture 21 –
Multimedia Session Protocols
Klara Nahrstedt
Spring 2010
Midterm Results
 Average = 78.7
 Median = 81.0
 Standard deviation =
8.31
 Max = 93
 Min = 60
 Count = 29
 60 – 71.9: C Range
 72 – 83.9: B Range
 84 above: A Range
CS 414 - Spring 2010
Outline
 Multimedia Protocols – Standards
RTSP
SIP
SDP
SAP
CS 414 - Spring 2010
Internet Multimedia Protocol Stack
CS 414 - Spring 2010
AAL3/4
IP Version 4, IP Version 6
UDP
Media encaps
(H.264, MPEG-4)
RTP
ATM/Fiber Optics Ethernet/WiFi
TCP
SIP RTSP RSVP RTCP
AAL5
KERNEL
APPLICATION
Layer 4
(Transport)
Layer 3
(Network)
Layer 2
(Link/MAC)
Layer 5
(Session)
MPLS
Real-Time Streaming Protocol (RTSP)
 Application Protocol for Control of multimedia
streams
 This is not an application data transmission
protocol, just remote control protocol between
client and server
CS 414 - Spring 2009
SERVER
CLIENT
RTP
RTP
RTSP RTSP
Session Control
Audio
video
Coder
Audio
Video
Decoder
RTSP
 Approved as Internet Draft, February 2, 1998,
authors H. Schulzrinne, A. Rao, R. Lanphier
 Enables controlled, on-demand delivery of real-
time data such as audio and video
 Intends to control multiple data delivery sessions
 Provides means for choosing delivery channels
 UDP
 Multicast UDP,
 TCP
CS 414 - Spring 2009
RTSP Methods
Request Direction Description
OPTIONS S <-> C Determine capabilities of server (S)
or client (C)
DESCRIBE C -> S Get description of media stream
ANNOUNCE S <-> C Announce new session description
SETUP C -> S Create media session
RECORD C -> S Start media recording
PLAY C -> S Start media delivery
PAUSE C -> S Pause media delivery
REDIRECT S -> C Use other server
TEARDOWN C -> S Destroy media session
SET_PARAMETER S <-> C Set server or client parameter
GET_PARAMETER S <-> C Read server or client parameter
CS 414 - Spring 2009
RTSP – Aggregate and Stream Control
CS 414 - Spring 2009
SERVER
CLIENT
RTP
RTP
Coder
Decoder
DESCRIBE
(aggregate stream)
SETUP
SID
RTSP RTSP
PLAY
ESTABLISH
PLAY
Streaming media: meta files
CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
Streaming Media: RTSP
CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
RTSP Operation
CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
Session Description Protocol (SDP)
 SDP is Text Format for describing
multimedia sessions
 Not really a protocol (similar to markup
language like HTML)
 Can be carried in any protocol, e.g., RTSP
or SIP
 Describes unicast and multicast sessions
CS 414 - Spring 2009
SDP
 There are five terms related to multimedia
session description:
 Conference: It is a set of two or more communicating users
along with the software they are using.
 Session : Session is the multimedia sender and receiver and the
flowing stream of data.
 Session Announcement: A session announcement is a
mechanism by which a session description is conveyed to users
in a proactive fashion, i.e., the session description was not
explicitly requested by the user.
 Session Advertisement : same as session announcement
 Session Description : A well defined format for conveying
sufficient information to discover and participate in a multimedia
session.
CS 414 - Spring 2009
Signaling for IP Telephony
 Internet Telephone – needs ability of one party
to signal to other party to initiate a new call
 Call – association between a number of
participants
 Note: there is no physical channel or network
resources associated with the session layer
connection, the connection exists only as signaling
state at two end points
CS 414 - Spring 2009
IP Telephony Signaling Protocol
(Requirements)
 Name translations and user location
 Mapping between names of different levels of
abstraction
 Email address to IP address of host
 Feature negotiation
 Group of end systems must agree on what media to
exchange ad their respective parameters
 Different encodings, rates
 Call Participant Management
 Invite participants to existing call, transfer call and hold other
users
CS 414 - Spring 2009
IP Telephony Signaling
(Requirements)
 Feature change
Adjust composition of media sessions during
the course of call
 Add or reduce functionality
 Impose or remove constraints due to addition or
removal of participants
 Two signaling protocols:
SIP (IETF Standard)
H.323 (ITU Standard)
CS 414 - Spring 2009
SIP (Session Initiation Protocol)
 SIP Goal: invite new participants to call
 Client-Server protocol at the application level
 Protocol:
 User/Client creates requests and sends to server;
 User agent server responds;
 SIP requests can traverse many proxy servers
 Server may act as redirect server
 Proxies or redirect servers cannot accept/reject
requests, only user agent server can
 Requests/Responses are textual
CS 414 - Spring 2009
Call Setup Process using SIP
CS 414 - Spring 2009
(1) INVITE
sip:johnsmith@test.com
(8) 200 OK
SIP user agent SIP user agent
Location
Service
SIP Server
(2) INVITE
sip:johnsmith@test.com
(3) Where is
johnsmith?
(4) At Jsmith
(5) INVITE
sip:johnsmith@jsmith.test.com
Jsmith
(6) 200 OK
(7) 200 OK
(9) ACK
(10) RTP Audio/Video data
SIP Server
SIP Redirect Server Operation
CS 414 - Spring 2009
(1) INVITE
sip:johnsmith@test.com
SIP user agent SIP user agent
Location
Service
(2) Where is
johnsmith?
(3) At play
play
(4) 302 Moved temporarily
Contact:sip:johnsmith@play.test.com
(7) RTP Audio/Video data
(5) INVITE
sip:johnsmith@play.test.com
(6) 200 OK
SIP - Message
 Calls in SIP – have unique call ID (carried
in Call-ID header field of SIP message)
 Call identifier is created by the caller and
used by all participants
 SIP messages have information
Logical connection source
Logical connection destination
Media destination
Media capabilities (use SDP)
CS 414 - Spring 2009
SIP – Addressing and Naming
 To be invited and identified, called party must be
named
 SIP chooses email-like identifier
 user@domain
 user@host
 user@IPaddress
 phone-number@gateway
 SIP’s address: part of SIP URL
 sip:j.doe@example.com
 URL can be placed on web page
 Interactive audio/video requests translation
 name@domain to host@host
CS 414 - Spring 2009
SIP Requests/Methods
 INVITE—Indicates a client is being invited to participate
in a call session.
 ACK—Confirms that the client has received a final
response to an INVITE request.
 BYE—Terminates a call and can be sent by either the
caller or the callee.
 CANCEL—Cancels any pending searches but does not
terminate a call that has already been accepted.
 OPTIONS—Queries the capabilities of servers.
 REGISTER—Registers the address listed in the To
header field with a SIP server.
CS 414 - Spring 2009
SAP – Session Announcement
Protocol
 RTSP and SIP are designed for one-on-one
session
 SAP is multicast announcement protocol
 Protocol
 Distributed servers periodically send multicast
packets (advertisements) containing descriptions of
sessions generated by local sources
 Advertisements are received by multicast receivers
on well-known , static multicast address/port
 Advertisement contains SDP information to start
media tools needed in the session
CS 414 - Spring 2009
Conclusion
 Internet protocol suite has now basic
ingredients to support streaming audio and
video
Both for distribution and communication
applications
 Challenges:
 No session control protocol that can be used to perform
floor control in distributed multimedia conferences
 Network reliability and deployment multicast of services
with predictable quality-of-service are major hurdles beyond
need for continuous upgrades in network capacity
CS 414 - Spring 2009
SDP Information
 Session description
 v= (protocol version) ; o= (originator and session identifier)
 s= (session name) ; i=* (session information)
 u=* (URI of description) ; e=* (email address) p
 =* (phone number) ; c=* (connection information -- not required if included in all
media) ; b=* (zero or more bandwidth information lines)
 One or more time descriptions
 ("t=" and "r=" lines; see below) z=* (time zone adjustments) k=* (encryption key) a=* (zero or more
session attribute lines)
 Time description
 t= (time the session is active) ; r=* (zero or more repeat times)
 Media description, if present
 m= (media name and transport address) ; i=* (media title)
 c=* (connection information -- optional if included at session level)
 b=* (zero or more bandwidth information lines)
 k=* (encryption key) a=* (zero or more media attribute lines)
CS 414 - Spring 2009
SIP Responses
 1xx—Informational Responses
 100 Trying (extended search being performed may take a significant
time so a forking proxy must send a 100 Trying response)
 180 Ringing
 181 Call Is Being Forwarded
 182 Queued
 183 Session Progress
 2xx—Successful Responses
 200 OK
 202 accepted: It Indicates that the request has been understood but
actually can't be processed
 3xx—Redirection Responses
 300 Multiple Choices
 301 Moved Permanently
 302 Moved Temporarily
CS 414 - Spring 2009

More Related Content

Similar to lect21-Layer5.ppt

Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocolkshitijmehta23
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5Irsandi Hasan
 
Ccna v5-S1-Chapter 7
Ccna v5-S1-Chapter 7Ccna v5-S1-Chapter 7
Ccna v5-S1-Chapter 7Hamza Malik
 
RTSP Analysis Wireshark
RTSP Analysis WiresharkRTSP Analysis Wireshark
RTSP Analysis WiresharkYoss Cohen
 
Building Voice
Building Voice Building Voice
Building Voice Videoguy
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networkingsangusajjan
 
RTSP Protocol - Explanation to develop API of RTSP Protocol
RTSP Protocol - Explanation to develop API of RTSP ProtocolRTSP Protocol - Explanation to develop API of RTSP Protocol
RTSP Protocol - Explanation to develop API of RTSP ProtocolFranZEast
 
Sinnreich Henry Johnston Alan Pt 1
Sinnreich Henry Johnston Alan   Pt 1Sinnreich Henry Johnston Alan   Pt 1
Sinnreich Henry Johnston Alan Pt 1Carl Ford
 
CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09Irsandi Hasan
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIPMahmoud Abudaqa
 
CCNA RS_ITN - Chapter 7
CCNA RS_ITN - Chapter 7CCNA RS_ITN - Chapter 7
CCNA RS_ITN - Chapter 7Irsandi Hasan
 
Understanding sip al gs
Understanding sip al gsUnderstanding sip al gs
Understanding sip al gsmaedot
 
The ssca® sip training program course outline
The ssca® sip training program   course outlineThe ssca® sip training program   course outline
The ssca® sip training program course outlineswap3731
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7Nil Menon
 

Similar to lect21-Layer5.ppt (20)

Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocol
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5
 
VOIP
VOIPVOIP
VOIP
 
Ccna v5-S1-Chapter 7
Ccna v5-S1-Chapter 7Ccna v5-S1-Chapter 7
Ccna v5-S1-Chapter 7
 
RTSP Analysis Wireshark
RTSP Analysis WiresharkRTSP Analysis Wireshark
RTSP Analysis Wireshark
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
Building Voice
Building Voice Building Voice
Building Voice
 
IP and VoIP Fundamentals
IP and VoIP FundamentalsIP and VoIP Fundamentals
IP and VoIP Fundamentals
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networking
 
RTSP Protocol - Explanation to develop API of RTSP Protocol
RTSP Protocol - Explanation to develop API of RTSP ProtocolRTSP Protocol - Explanation to develop API of RTSP Protocol
RTSP Protocol - Explanation to develop API of RTSP Protocol
 
Sinnreich Henry Johnston Alan Pt 1
Sinnreich Henry Johnston Alan   Pt 1Sinnreich Henry Johnston Alan   Pt 1
Sinnreich Henry Johnston Alan Pt 1
 
CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09
 
IMS Signaling (Rev. 3)
IMS Signaling (Rev. 3)IMS Signaling (Rev. 3)
IMS Signaling (Rev. 3)
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIP
 
Sip summary
Sip summarySip summary
Sip summary
 
CCNA RS_ITN - Chapter 7
CCNA RS_ITN - Chapter 7CCNA RS_ITN - Chapter 7
CCNA RS_ITN - Chapter 7
 
Understanding sip al gs
Understanding sip al gsUnderstanding sip al gs
Understanding sip al gs
 
The ssca® sip training program course outline
The ssca® sip training program   course outlineThe ssca® sip training program   course outline
The ssca® sip training program course outline
 
Internet multimedia
Internet multimediaInternet multimedia
Internet multimedia
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7
 

Recently uploaded

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

lect21-Layer5.ppt

  • 1. CS 414 - Spring 2010 CS 414 – Multimedia Systems Design Lecture 21 – Multimedia Session Protocols Klara Nahrstedt Spring 2010
  • 2. Midterm Results  Average = 78.7  Median = 81.0  Standard deviation = 8.31  Max = 93  Min = 60  Count = 29  60 – 71.9: C Range  72 – 83.9: B Range  84 above: A Range CS 414 - Spring 2010
  • 3. Outline  Multimedia Protocols – Standards RTSP SIP SDP SAP CS 414 - Spring 2010
  • 4. Internet Multimedia Protocol Stack CS 414 - Spring 2010 AAL3/4 IP Version 4, IP Version 6 UDP Media encaps (H.264, MPEG-4) RTP ATM/Fiber Optics Ethernet/WiFi TCP SIP RTSP RSVP RTCP AAL5 KERNEL APPLICATION Layer 4 (Transport) Layer 3 (Network) Layer 2 (Link/MAC) Layer 5 (Session) MPLS
  • 5. Real-Time Streaming Protocol (RTSP)  Application Protocol for Control of multimedia streams  This is not an application data transmission protocol, just remote control protocol between client and server CS 414 - Spring 2009 SERVER CLIENT RTP RTP RTSP RTSP Session Control Audio video Coder Audio Video Decoder
  • 6. RTSP  Approved as Internet Draft, February 2, 1998, authors H. Schulzrinne, A. Rao, R. Lanphier  Enables controlled, on-demand delivery of real- time data such as audio and video  Intends to control multiple data delivery sessions  Provides means for choosing delivery channels  UDP  Multicast UDP,  TCP CS 414 - Spring 2009
  • 7. RTSP Methods Request Direction Description OPTIONS S <-> C Determine capabilities of server (S) or client (C) DESCRIBE C -> S Get description of media stream ANNOUNCE S <-> C Announce new session description SETUP C -> S Create media session RECORD C -> S Start media recording PLAY C -> S Start media delivery PAUSE C -> S Pause media delivery REDIRECT S -> C Use other server TEARDOWN C -> S Destroy media session SET_PARAMETER S <-> C Set server or client parameter GET_PARAMETER S <-> C Read server or client parameter CS 414 - Spring 2009
  • 8. RTSP – Aggregate and Stream Control CS 414 - Spring 2009 SERVER CLIENT RTP RTP Coder Decoder DESCRIBE (aggregate stream) SETUP SID RTSP RTSP PLAY ESTABLISH PLAY
  • 9. Streaming media: meta files CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
  • 10. Streaming Media: RTSP CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
  • 11. RTSP Operation CS 414 - Spring 2009 RTSP Presentation by H. Schulzrinne, 2001
  • 12. Session Description Protocol (SDP)  SDP is Text Format for describing multimedia sessions  Not really a protocol (similar to markup language like HTML)  Can be carried in any protocol, e.g., RTSP or SIP  Describes unicast and multicast sessions CS 414 - Spring 2009
  • 13. SDP  There are five terms related to multimedia session description:  Conference: It is a set of two or more communicating users along with the software they are using.  Session : Session is the multimedia sender and receiver and the flowing stream of data.  Session Announcement: A session announcement is a mechanism by which a session description is conveyed to users in a proactive fashion, i.e., the session description was not explicitly requested by the user.  Session Advertisement : same as session announcement  Session Description : A well defined format for conveying sufficient information to discover and participate in a multimedia session. CS 414 - Spring 2009
  • 14. Signaling for IP Telephony  Internet Telephone – needs ability of one party to signal to other party to initiate a new call  Call – association between a number of participants  Note: there is no physical channel or network resources associated with the session layer connection, the connection exists only as signaling state at two end points CS 414 - Spring 2009
  • 15. IP Telephony Signaling Protocol (Requirements)  Name translations and user location  Mapping between names of different levels of abstraction  Email address to IP address of host  Feature negotiation  Group of end systems must agree on what media to exchange ad their respective parameters  Different encodings, rates  Call Participant Management  Invite participants to existing call, transfer call and hold other users CS 414 - Spring 2009
  • 16. IP Telephony Signaling (Requirements)  Feature change Adjust composition of media sessions during the course of call  Add or reduce functionality  Impose or remove constraints due to addition or removal of participants  Two signaling protocols: SIP (IETF Standard) H.323 (ITU Standard) CS 414 - Spring 2009
  • 17. SIP (Session Initiation Protocol)  SIP Goal: invite new participants to call  Client-Server protocol at the application level  Protocol:  User/Client creates requests and sends to server;  User agent server responds;  SIP requests can traverse many proxy servers  Server may act as redirect server  Proxies or redirect servers cannot accept/reject requests, only user agent server can  Requests/Responses are textual CS 414 - Spring 2009
  • 18. Call Setup Process using SIP CS 414 - Spring 2009 (1) INVITE sip:johnsmith@test.com (8) 200 OK SIP user agent SIP user agent Location Service SIP Server (2) INVITE sip:johnsmith@test.com (3) Where is johnsmith? (4) At Jsmith (5) INVITE sip:johnsmith@jsmith.test.com Jsmith (6) 200 OK (7) 200 OK (9) ACK (10) RTP Audio/Video data SIP Server
  • 19. SIP Redirect Server Operation CS 414 - Spring 2009 (1) INVITE sip:johnsmith@test.com SIP user agent SIP user agent Location Service (2) Where is johnsmith? (3) At play play (4) 302 Moved temporarily Contact:sip:johnsmith@play.test.com (7) RTP Audio/Video data (5) INVITE sip:johnsmith@play.test.com (6) 200 OK
  • 20. SIP - Message  Calls in SIP – have unique call ID (carried in Call-ID header field of SIP message)  Call identifier is created by the caller and used by all participants  SIP messages have information Logical connection source Logical connection destination Media destination Media capabilities (use SDP) CS 414 - Spring 2009
  • 21. SIP – Addressing and Naming  To be invited and identified, called party must be named  SIP chooses email-like identifier  user@domain  user@host  user@IPaddress  phone-number@gateway  SIP’s address: part of SIP URL  sip:j.doe@example.com  URL can be placed on web page  Interactive audio/video requests translation  name@domain to host@host CS 414 - Spring 2009
  • 22. SIP Requests/Methods  INVITE—Indicates a client is being invited to participate in a call session.  ACK—Confirms that the client has received a final response to an INVITE request.  BYE—Terminates a call and can be sent by either the caller or the callee.  CANCEL—Cancels any pending searches but does not terminate a call that has already been accepted.  OPTIONS—Queries the capabilities of servers.  REGISTER—Registers the address listed in the To header field with a SIP server. CS 414 - Spring 2009
  • 23. SAP – Session Announcement Protocol  RTSP and SIP are designed for one-on-one session  SAP is multicast announcement protocol  Protocol  Distributed servers periodically send multicast packets (advertisements) containing descriptions of sessions generated by local sources  Advertisements are received by multicast receivers on well-known , static multicast address/port  Advertisement contains SDP information to start media tools needed in the session CS 414 - Spring 2009
  • 24. Conclusion  Internet protocol suite has now basic ingredients to support streaming audio and video Both for distribution and communication applications  Challenges:  No session control protocol that can be used to perform floor control in distributed multimedia conferences  Network reliability and deployment multicast of services with predictable quality-of-service are major hurdles beyond need for continuous upgrades in network capacity CS 414 - Spring 2009
  • 25. SDP Information  Session description  v= (protocol version) ; o= (originator and session identifier)  s= (session name) ; i=* (session information)  u=* (URI of description) ; e=* (email address) p  =* (phone number) ; c=* (connection information -- not required if included in all media) ; b=* (zero or more bandwidth information lines)  One or more time descriptions  ("t=" and "r=" lines; see below) z=* (time zone adjustments) k=* (encryption key) a=* (zero or more session attribute lines)  Time description  t= (time the session is active) ; r=* (zero or more repeat times)  Media description, if present  m= (media name and transport address) ; i=* (media title)  c=* (connection information -- optional if included at session level)  b=* (zero or more bandwidth information lines)  k=* (encryption key) a=* (zero or more media attribute lines) CS 414 - Spring 2009
  • 26. SIP Responses  1xx—Informational Responses  100 Trying (extended search being performed may take a significant time so a forking proxy must send a 100 Trying response)  180 Ringing  181 Call Is Being Forwarded  182 Queued  183 Session Progress  2xx—Successful Responses  200 OK  202 accepted: It Indicates that the request has been understood but actually can't be processed  3xx—Redirection Responses  300 Multiple Choices  301 Moved Permanently  302 Moved Temporarily CS 414 - Spring 2009