SlideShare a Scribd company logo
1 of 14
Information and Communication
Technologies(ICT)
Principles and Perspectives
Lecture : Distributed multimedia systems
Study guide(17) essential reading (7)
Protocols for real time apps
Real Time protocol
• Real Time protocol ( RTP )
• can be used for transporting common formats such as PCM, ACC, and MP3 for
sound and MPEG and H.263 for video
• Packet structure for carrying audio/video data
• RTP provides
• Payload identification
• Packet sequence numbering
• Time stamping
Real Time protocol ( RTP )
• RTP packet has UDP segment and media chunk
• RTP is for end systems only, intermediate routes don’t examine it
• RTP in end systems and RTP libraries provides transport layer interface that extends
UDP with
• Port numbers, IP address
• payload type identification
• packet sequence numbering
• time-stamping.
RTP packet header
• Version
• Padding
• Extension
• CSRC count (CC)
• Marker
RTP headers
• Synchronization source identifier (SSRC). The SSRC field is 32 bits long. It
identifies the source of the RTP stream. Typically, each stream in an RTP
session has a distinct SSRC.
• The SSRC is not the IP address of the sender, but instead is a number that
the source assigns randomly when the new stream is started.
• The probability that two streams get assigned the same SSRC is very small.
Should this happen, the two sources pick a new SSRC value
Real-Time Control Protocol (RTCP)
• Used in combination with RTP
• All participants send reports periodically to all others , number of packets
lost/sent, inter arrival jitter. Timestamps at receiver Vs RTP media
timestamps etc.
• Scaling issue is in multicasting. Too many packets by receivers
• RTCP modifies the rate with which participants send traffic into the
multicast tree as a function of the number of participants in the session
Session Initiation protocol (SIP)
• Mechanisms for establishing calls over an IP network.
• Allows the caller to notify the callee that it wants to start a call.
• Allows the participants to agree on media encodings.
• Allows participants to end calls.
• Mechanisms for the caller to determine the current IP address of the callee.
• Users do not have a single, fixed IP address because they may be assigned addresses
dynamically (using DHCP) and because they may have multiple IP devices, each with a
different IP address.
Session Initiation protocol (SIP)
• Mechanisms for call management
• such as adding new media streams during the call
• changing the encoding during the call
• inviting new participants during the call
• call transfer, call holding.
Key Characteristics of SIP
• First, SIP is an out-of-band protocol: The SIP messages are sent and received
in sockets that are different from those used for sending and receiving the
media data.
• Second, the SIP messages themselves are ASCII-readable and resemble
HTTP messages.
• Third, SIP requires all messages to be acknowledged, so it can run over UDP
or TCP
Scenarios
• Bob doesn’t have proper codec
• Will send list of available codecs, Alice will choose one and resend invite with that
codec
• Busy
• Gone
• Payment required
• Forbidden etc.
SIP
• IP not known to Alice
• Will send request on email id like bob@domain.com
• SIP Proxy will respond with IP address of Bob or voicemail box or a URL saying Bob
is sleeping
• SIP registrar.
• Every SIP user has an associated registrar. Whenever a user launches an SIP application
on a device, the application sends an SIP register message to the registrar, informing the
registrar of its current IP address
Multimedia networks

More Related Content

What's hot

Multipath TCP
Multipath TCPMultipath TCP
Multipath TCP
Olivier Bonaventure
 

What's hot (20)

An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
 
Vo ip
Vo ipVo ip
Vo ip
 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
 
Tcp
TcpTcp
Tcp
 
Rtp
RtpRtp
Rtp
 
Sania rtp
Sania rtpSania rtp
Sania rtp
 
Tcp Udp
Tcp UdpTcp Udp
Tcp Udp
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSP
 
10 routing-bgp
10 routing-bgp10 routing-bgp
10 routing-bgp
 
Multipath TCP
Multipath TCPMultipath TCP
Multipath TCP
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
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
 
Rtsp
RtspRtsp
Rtsp
 
Transmission control protocol
Transmission control protocolTransmission control protocol
Transmission control protocol
 
Ports & sockets
Ports  & sockets Ports  & sockets
Ports & sockets
 
RTSP Analysis Wireshark
RTSP Analysis WiresharkRTSP Analysis Wireshark
RTSP Analysis Wireshark
 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 

Similar to Multimedia networks

tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
GauravSankhyan4
 

Similar to Multimedia networks (20)

DT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfDT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdf
 
Introduction to SIP
Introduction to SIP  Introduction to SIP
Introduction to SIP
 
Lecture set 7
Lecture set 7Lecture set 7
Lecture set 7
 
ADDRESSING PADA TCP IP
ADDRESSING PADA TCP IPADDRESSING PADA TCP IP
ADDRESSING PADA TCP IP
 
QSpiders - Upper layer-protocols
QSpiders - Upper layer-protocolsQSpiders - Upper layer-protocols
QSpiders - Upper layer-protocols
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
 
Ch 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewCh 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts Review
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
tcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptxtcp-140613123317-phpapp01.pptx
tcp-140613123317-phpapp01.pptx
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 
Introduction to TCP / IP in networking Technology
Introduction to TCP / IP in networking TechnologyIntroduction to TCP / IP in networking Technology
Introduction to TCP / IP in networking Technology
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 

More from Saqib Shehzad

More from Saqib Shehzad (20)

خاکہ برائے درسِ مختصر البخاری۔ کتاب العلم 20.pdf
خاکہ برائے درسِ مختصر البخاری۔ کتاب العلم 20.pdfخاکہ برائے درسِ مختصر البخاری۔ کتاب العلم 20.pdf
خاکہ برائے درسِ مختصر البخاری۔ کتاب العلم 20.pdf
 
Security
Security Security
Security
 
wireless networks
wireless networkswireless networks
wireless networks
 
wireless networks
wireless networkswireless networks
wireless networks
 
Wireless networks
Wireless networksWireless networks
Wireless networks
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Multimedia continued
Multimedia continuedMultimedia continued
Multimedia continued
 
Multimedia
MultimediaMultimedia
Multimedia
 
Usability Evaluation
Usability EvaluationUsability Evaluation
Usability Evaluation
 
Prototype in HCI
Prototype in HCIPrototype in HCI
Prototype in HCI
 
User centered Design
User centered DesignUser centered Design
User centered Design
 
HCI
HCIHCI
HCI
 
Social and organizational perspective in HCI
Social and organizational perspective in HCISocial and organizational perspective in HCI
Social and organizational perspective in HCI
 
Interaction styles
Interaction stylesInteraction styles
Interaction styles
 
Cognitive frameworks
Cognitive frameworksCognitive frameworks
Cognitive frameworks
 
Cognition, information processing, perception and attention
Cognition, information processing, perception and attentionCognition, information processing, perception and attention
Cognition, information processing, perception and attention
 
Conceptual Model
Conceptual ModelConceptual Model
Conceptual Model
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interaction
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 

Multimedia networks

  • 1. Information and Communication Technologies(ICT) Principles and Perspectives Lecture : Distributed multimedia systems Study guide(17) essential reading (7)
  • 2. Protocols for real time apps
  • 3. Real Time protocol • Real Time protocol ( RTP ) • can be used for transporting common formats such as PCM, ACC, and MP3 for sound and MPEG and H.263 for video • Packet structure for carrying audio/video data • RTP provides • Payload identification • Packet sequence numbering • Time stamping
  • 4. Real Time protocol ( RTP ) • RTP packet has UDP segment and media chunk • RTP is for end systems only, intermediate routes don’t examine it • RTP in end systems and RTP libraries provides transport layer interface that extends UDP with • Port numbers, IP address • payload type identification • packet sequence numbering • time-stamping.
  • 5. RTP packet header • Version • Padding • Extension • CSRC count (CC) • Marker
  • 6. RTP headers • Synchronization source identifier (SSRC). The SSRC field is 32 bits long. It identifies the source of the RTP stream. Typically, each stream in an RTP session has a distinct SSRC. • The SSRC is not the IP address of the sender, but instead is a number that the source assigns randomly when the new stream is started. • The probability that two streams get assigned the same SSRC is very small. Should this happen, the two sources pick a new SSRC value
  • 7. Real-Time Control Protocol (RTCP) • Used in combination with RTP • All participants send reports periodically to all others , number of packets lost/sent, inter arrival jitter. Timestamps at receiver Vs RTP media timestamps etc. • Scaling issue is in multicasting. Too many packets by receivers • RTCP modifies the rate with which participants send traffic into the multicast tree as a function of the number of participants in the session
  • 8. Session Initiation protocol (SIP) • Mechanisms for establishing calls over an IP network. • Allows the caller to notify the callee that it wants to start a call. • Allows the participants to agree on media encodings. • Allows participants to end calls. • Mechanisms for the caller to determine the current IP address of the callee. • Users do not have a single, fixed IP address because they may be assigned addresses dynamically (using DHCP) and because they may have multiple IP devices, each with a different IP address.
  • 9. Session Initiation protocol (SIP) • Mechanisms for call management • such as adding new media streams during the call • changing the encoding during the call • inviting new participants during the call • call transfer, call holding.
  • 10.
  • 11. Key Characteristics of SIP • First, SIP is an out-of-band protocol: The SIP messages are sent and received in sockets that are different from those used for sending and receiving the media data. • Second, the SIP messages themselves are ASCII-readable and resemble HTTP messages. • Third, SIP requires all messages to be acknowledged, so it can run over UDP or TCP
  • 12. Scenarios • Bob doesn’t have proper codec • Will send list of available codecs, Alice will choose one and resend invite with that codec • Busy • Gone • Payment required • Forbidden etc.
  • 13. SIP • IP not known to Alice • Will send request on email id like bob@domain.com • SIP Proxy will respond with IP address of Bob or voicemail box or a URL saying Bob is sleeping • SIP registrar. • Every SIP user has an associated registrar. Whenever a user launches an SIP application on a device, the application sends an SIP register message to the registrar, informing the registrar of its current IP address

Editor's Notes

  1. http://ritzinmobileworld.blogspot.com/2014/07/rtp-basics-part-ii-rtp-packet-structure.html
  2. Session initiation, involving SIP proxies and registrars