SlideShare a Scribd company logo
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
1
Multimedia CommunicationMultimedia Communication
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
2
BackgroundBackground
The story so far….
 Video Coding–MPEG-4 …
 Audio Coding– u-Law, AMR …
 Packetization and Transport of media– RTP
 Transprot Control / QoS Feedback -RTCP
Next
 SDP – Description
 RTSP – Signaling
 SIP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
3
BackgroundBackground
SDP (Session Description Protocol)
How to describe a multimedia session?
RTSP – Internet VCR controls
Stop, Pause, Play, Fast Forward over the
internet
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
4
SDPSDP
 Example : An existing live multicast session
Video and Audio streams
Transport - RTP/UDP/IP, Control – RTCP/UDP/IP
 A new client wanting to join the multicast session
 Needs to know
– multicast IP address and port
– Media streams in a session (e.g. video only or audio + video)
Payload format (e.g. MPEG-4 video, AMR audio)
– Initialization data for video and audio decoders
– Transport protocol used
– Other information ....
 Need a way to describe a multimedia session
– To enable new clients to easily join the session
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
5
SDPSDP
 Session Description Protocol (SDP)
– IETF –RFC2327: www.ietf.org/rfc/rfc2327.txt
 For describing multimedia sessions
– To communicate the existence of a session
– To convey sufficient information to join a session
 Simple text format
 Defined to be general purpose
– Can be used for a wide range of network environment
– And applications
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
6
SDPSDP
SDP includes:
 Session name and purpose
 Time the session is active
 The media comprising the session
 Information to receive media (addresses, ports, formats)
 Information about bandwidth to be used
 Contact information of a person responsible for the
session
SDP is used by other signaling / initiation protocols
 SIP : Session Initiation Protocol
 RTSP : Real-time Streaming Protocol
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
7
SDPSDP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
8
SDPSDP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
9
SDPSDP
Example – Using SDP to join a multicast session
 Request SDP file via HTTP
 Retrieve information from downloaded SDP file
 Receive RTP streams on SDP specifed address & port
 Decode and display specified media
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
10
RTSPRTSP
Now we can describe and transport media streams
But how to control these streams
 Start, Stop, Pause, Fast Forward, Rewind
 “Internet VCR”
Solution- RTSP
 Real Time Streaming Protocol
 Establishes and controls one or more countinuous media streams – such as audio and
video
 Similar in syntax and operation to HTTP/1.1
– Client–Server protocol
– Text based
 IETF RFC 2326
 www.ietf.org/rfc/rfc2326.txt
 www.rtsp.org
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
11
RTSPRTSP
Example
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
12
RTSPRTSP
Protocol Properties
 Media Transport Indepedent
– RTSP does not depend on the transport machanism used to carry
the continuous media
– Media transport can be via RTP or some other mechanism
 Transport-independent:
– RTSP may use UDP or TCP
 Control of recording devices:
– Can control both recording only and playback only devices,
– Or devices that can alternate between the two modes
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
13
RTSPRTSP
Protocol Properties:
 Extendable:
– New methods and parameters can be easily added to RTSP.
 Easy to parse
 Multi-server capable:
– Each media stream within a presentation can reside on a different
server.
 HTTP- friendly:
– RTSP reuses HTTP concepts, so that the existing infrastruture
can be reused.
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
14
RTSPRTSP
Protocol Operation
– Text based messages between client and
server
– Messages can be:
 Requests
 Responses
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
15
RTSPRTSP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
16
RTSPRTSP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
17
RTSP – Decribe MethodRTSP – Decribe Method
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
18
RTSP – Setup MethodRTSP – Setup Method
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
19
RTSP – Play MethodRTSP – Play Method
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
20
RTSP – Pause MethodRTSP – Pause Method
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
21
RTSP – Teardown MethodRTSP – Teardown Method
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
22
RTSP – Signal Timing DiagramRTSP – Signal Timing Diagram
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
23
Summary of RTSP methodsSummary of RTSP methods
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
24
SIPSIP
 Session Initiation Protocol
– Another session control protocol
– IETF RFC 3261 www.ietf.org/rfc/rfc3261.txt
 Protocol that can establish, modify and terminate multimedia
sessions
 Applications– IP telephony, multimedia conferences
 SIP, likeRTSP,
– Uses text-based request/response transattion model
 Requests contain Methods and Header fields
 Responses include 3 digit status codes, eg "200 OK"
– Is Transport layer independent
– Uses other protocols for media delivery (eg RTP)
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
25
SIP MessagesSIP Messages
SIP AddressesSIP Addresses
 RFC 3261 defined SIP addresses in form of s
sip:user@domain:port
sip:user@host:port
 Default port is 5061
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
26
SIP Message TypesSIP Message Types
SIP Invite
SIP Response
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
27
SIPSIP
 SIP Methods
– INVITE, ACK, CANCEL : for setting up sessions
– BYE : for terminating sessions
– REGISTER for registering contact information
– OPTIONS : for querying servers about capabilities
 INVITE
– User agent client initiates a session with INVITE
– Invitation can be accepted by a user agent server
– Sip invitations convey session descriptions that allow
participants to agree on a set of compatible media types
– Offer/answer model
 ACK
– Response confirmation to INVITE
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
28
SIP ResponseSIP Response
 Code range from 100 to 699, divided into several classes
1xx, 2xx, …,6xx:
– 1xx : the status.
– 2xx : the query was processed successfully.
– 3xx : the query was sent to another servers to further processing.
– 4xx, 5xx, 6xx: There are error in the query processing
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
29
SIPSIP
ExampleExample
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
30
SIPSIP
SIP supports user mobility
With proxy servers to help route requests
to user's current location
Registration function allowing users to
upload current locations for use by proxy
servers.
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
31
SIPSIP
05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT
32
SIPSIP
Respose ExampleRespose Example

More Related Content

What's hot

Rtp
RtpRtp
Puertos tcp & udp
Puertos tcp & udpPuertos tcp & udp
Puertos tcp & udp
Claudia Ortiz Ruiz
 
Assignment on data network
Assignment on data networkAssignment on data network
Assignment on data network
Abhishek Kesharwani
 
Udp
UdpUdp
Ports
PortsPorts
Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffen
Harikiran Raju
 
Realtimetapan
RealtimetapanRealtimetapan
Realtimetapan
Tapan Kumar
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
sanjoysanyal
 
Bootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcpBootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcp
Ashish Malik
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
Noctorous Jamal
 
Tcp presentation
Tcp presentationTcp presentation
Tcp presentation
Noor Khalid
 
IPTABLES
IPTABLESIPTABLES
IPTABLES
Tan Huynh Cong
 
Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Server
muh kemal
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
Ramola Dhande
 
Bar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, PragueBar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, Prague
Jose Saldana
 
Application layer
Application layerApplication layer
Application layer
soumitra_dgp
 
Ch17
Ch17Ch17
Tftp client server communication
Tftp client server communicationTftp client server communication
Tftp client server communication
Uday Sharma
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
Noctorous Jamal
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
Nita Dalla
 

What's hot (20)

Rtp
RtpRtp
Rtp
 
Puertos tcp & udp
Puertos tcp & udpPuertos tcp & udp
Puertos tcp & udp
 
Assignment on data network
Assignment on data networkAssignment on data network
Assignment on data network
 
Udp
UdpUdp
Udp
 
Ports
PortsPorts
Ports
 
Tcp vs udp difference and comparison diffen
Tcp vs udp   difference and comparison   diffenTcp vs udp   difference and comparison   diffen
Tcp vs udp difference and comparison diffen
 
Realtimetapan
RealtimetapanRealtimetapan
Realtimetapan
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
 
Bootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcpBootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcp
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
 
Tcp presentation
Tcp presentationTcp presentation
Tcp presentation
 
IPTABLES
IPTABLESIPTABLES
IPTABLES
 
Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Server
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
Bar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, PragueBar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, Prague
 
Application layer
Application layerApplication layer
Application layer
 
Ch17
Ch17Ch17
Ch17
 
Tftp client server communication
Tftp client server communicationTftp client server communication
Tftp client server communication
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 

Similar to Lect7 MC2013 UET K55CA

Rtsp
RtspRtsp
lect20-Layer5.ppt
lect20-Layer5.pptlect20-Layer5.ppt
lect20-Layer5.ppt
None973611
 
Rtp
RtpRtp
Internet Video
Internet VideoInternet Video
Internet Video
Salvatore Loreto
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
Khánh Ghẻ
 
mrutu sammary 1.pdf
mrutu sammary 1.pdfmrutu sammary 1.pdf
mrutu sammary 1.pdf
SamiaMaulidi
 
HNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdfHNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdf
AbenetAsmellash
 
Take a sip of sip
Take a sip of sipTake a sip of sip
Take a sip of sip
LuxoftTraining
 
Tlc 004 - take a sip of sip
Tlc 004 - take a sip of sipTlc 004 - take a sip of sip
Tlc 004 - take a sip of sip
Anna Volynkina
 
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
swap3731
 
Demuxed 2020
Demuxed 2020Demuxed 2020
Demuxed 2020
SeanDuBois3
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
Bc0055, tcpip
Bc0055, tcpipBc0055, tcpip
Bc0055, tcpip
smumbahelp
 
Transport Layer Numericals
Transport Layer NumericalsTransport Layer Numericals
Transport Layer Numericals
Manisha Keim
 
Sip summary
Sip summarySip summary
Sip summary
Ahmed Noaman
 
lect21-Layer5.ppt
lect21-Layer5.pptlect21-Layer5.ppt
lect21-Layer5.ppt
ClarityteamUtngn
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
Ahmad Khalid Nasrat
 
TCP AND UDP
TCP AND UDP TCP AND UDP
Tcp and udp.transmission control protocol.user datagram protocol
Tcp and udp.transmission control protocol.user datagram protocolTcp and udp.transmission control protocol.user datagram protocol
Tcp and udp.transmission control protocol.user datagram protocol
Mushtaque Khan Noonari
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet Applications
Videoguy
 

Similar to Lect7 MC2013 UET K55CA (20)

Rtsp
RtspRtsp
Rtsp
 
lect20-Layer5.ppt
lect20-Layer5.pptlect20-Layer5.ppt
lect20-Layer5.ppt
 
Rtp
RtpRtp
Rtp
 
Internet Video
Internet VideoInternet Video
Internet Video
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
 
mrutu sammary 1.pdf
mrutu sammary 1.pdfmrutu sammary 1.pdf
mrutu sammary 1.pdf
 
HNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdfHNS L III UC2 Installing and Managing Network Protocols .pdf
HNS L III UC2 Installing and Managing Network Protocols .pdf
 
Take a sip of sip
Take a sip of sipTake a sip of sip
Take a sip of sip
 
Tlc 004 - take a sip of sip
Tlc 004 - take a sip of sipTlc 004 - take a sip of sip
Tlc 004 - take a sip of sip
 
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
 
Demuxed 2020
Demuxed 2020Demuxed 2020
Demuxed 2020
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
 
Bc0055, tcpip
Bc0055, tcpipBc0055, tcpip
Bc0055, tcpip
 
Transport Layer Numericals
Transport Layer NumericalsTransport Layer Numericals
Transport Layer Numericals
 
Sip summary
Sip summarySip summary
Sip summary
 
lect21-Layer5.ppt
lect21-Layer5.pptlect21-Layer5.ppt
lect21-Layer5.ppt
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
 
TCP AND UDP
TCP AND UDP TCP AND UDP
TCP AND UDP
 
Tcp and udp.transmission control protocol.user datagram protocol
Tcp and udp.transmission control protocol.user datagram protocolTcp and udp.transmission control protocol.user datagram protocol
Tcp and udp.transmission control protocol.user datagram protocol
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet Applications
 

Recently uploaded

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 

Recently uploaded (20)

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 

Lect7 MC2013 UET K55CA

  • 1. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 1 Multimedia CommunicationMultimedia Communication
  • 2. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 2 BackgroundBackground The story so far….  Video Coding–MPEG-4 …  Audio Coding– u-Law, AMR …  Packetization and Transport of media– RTP  Transprot Control / QoS Feedback -RTCP Next  SDP – Description  RTSP – Signaling  SIP
  • 3. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 3 BackgroundBackground SDP (Session Description Protocol) How to describe a multimedia session? RTSP – Internet VCR controls Stop, Pause, Play, Fast Forward over the internet
  • 4. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 4 SDPSDP  Example : An existing live multicast session Video and Audio streams Transport - RTP/UDP/IP, Control – RTCP/UDP/IP  A new client wanting to join the multicast session  Needs to know – multicast IP address and port – Media streams in a session (e.g. video only or audio + video) Payload format (e.g. MPEG-4 video, AMR audio) – Initialization data for video and audio decoders – Transport protocol used – Other information ....  Need a way to describe a multimedia session – To enable new clients to easily join the session
  • 5. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 5 SDPSDP  Session Description Protocol (SDP) – IETF –RFC2327: www.ietf.org/rfc/rfc2327.txt  For describing multimedia sessions – To communicate the existence of a session – To convey sufficient information to join a session  Simple text format  Defined to be general purpose – Can be used for a wide range of network environment – And applications
  • 6. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 6 SDPSDP SDP includes:  Session name and purpose  Time the session is active  The media comprising the session  Information to receive media (addresses, ports, formats)  Information about bandwidth to be used  Contact information of a person responsible for the session SDP is used by other signaling / initiation protocols  SIP : Session Initiation Protocol  RTSP : Real-time Streaming Protocol
  • 7. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 7 SDPSDP
  • 8. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 8 SDPSDP
  • 9. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 9 SDPSDP Example – Using SDP to join a multicast session  Request SDP file via HTTP  Retrieve information from downloaded SDP file  Receive RTP streams on SDP specifed address & port  Decode and display specified media
  • 10. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 10 RTSPRTSP Now we can describe and transport media streams But how to control these streams  Start, Stop, Pause, Fast Forward, Rewind  “Internet VCR” Solution- RTSP  Real Time Streaming Protocol  Establishes and controls one or more countinuous media streams – such as audio and video  Similar in syntax and operation to HTTP/1.1 – Client–Server protocol – Text based  IETF RFC 2326  www.ietf.org/rfc/rfc2326.txt  www.rtsp.org
  • 11. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 11 RTSPRTSP Example
  • 12. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 12 RTSPRTSP Protocol Properties  Media Transport Indepedent – RTSP does not depend on the transport machanism used to carry the continuous media – Media transport can be via RTP or some other mechanism  Transport-independent: – RTSP may use UDP or TCP  Control of recording devices: – Can control both recording only and playback only devices, – Or devices that can alternate between the two modes
  • 13. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 13 RTSPRTSP Protocol Properties:  Extendable: – New methods and parameters can be easily added to RTSP.  Easy to parse  Multi-server capable: – Each media stream within a presentation can reside on a different server.  HTTP- friendly: – RTSP reuses HTTP concepts, so that the existing infrastruture can be reused.
  • 14. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 14 RTSPRTSP Protocol Operation – Text based messages between client and server – Messages can be:  Requests  Responses
  • 15. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 15 RTSPRTSP
  • 16. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 16 RTSPRTSP
  • 17. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 17 RTSP – Decribe MethodRTSP – Decribe Method
  • 18. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 18 RTSP – Setup MethodRTSP – Setup Method
  • 19. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 19 RTSP – Play MethodRTSP – Play Method
  • 20. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 20 RTSP – Pause MethodRTSP – Pause Method
  • 21. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 21 RTSP – Teardown MethodRTSP – Teardown Method
  • 22. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 22 RTSP – Signal Timing DiagramRTSP – Signal Timing Diagram
  • 23. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 23 Summary of RTSP methodsSummary of RTSP methods
  • 24. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 24 SIPSIP  Session Initiation Protocol – Another session control protocol – IETF RFC 3261 www.ietf.org/rfc/rfc3261.txt  Protocol that can establish, modify and terminate multimedia sessions  Applications– IP telephony, multimedia conferences  SIP, likeRTSP, – Uses text-based request/response transattion model  Requests contain Methods and Header fields  Responses include 3 digit status codes, eg "200 OK" – Is Transport layer independent – Uses other protocols for media delivery (eg RTP)
  • 25. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 25 SIP MessagesSIP Messages SIP AddressesSIP Addresses  RFC 3261 defined SIP addresses in form of s sip:user@domain:port sip:user@host:port  Default port is 5061
  • 26. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 26 SIP Message TypesSIP Message Types SIP Invite SIP Response
  • 27. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 27 SIPSIP  SIP Methods – INVITE, ACK, CANCEL : for setting up sessions – BYE : for terminating sessions – REGISTER for registering contact information – OPTIONS : for querying servers about capabilities  INVITE – User agent client initiates a session with INVITE – Invitation can be accepted by a user agent server – Sip invitations convey session descriptions that allow participants to agree on a set of compatible media types – Offer/answer model  ACK – Response confirmation to INVITE
  • 28. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 28 SIP ResponseSIP Response  Code range from 100 to 699, divided into several classes 1xx, 2xx, …,6xx: – 1xx : the status. – 2xx : the query was processed successfully. – 3xx : the query was sent to another servers to further processing. – 4xx, 5xx, 6xx: There are error in the query processing
  • 29. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 29 SIPSIP ExampleExample
  • 30. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 30 SIPSIP SIP supports user mobility With proxy servers to help route requests to user's current location Registration function allowing users to upload current locations for use by proxy servers.
  • 31. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 31 SIPSIP
  • 32. 05/10/14Bùi Thế Duy - Bộ môn Mạng và TTMT 32 SIPSIP Respose ExampleRespose Example