SlideShare une entreprise Scribd logo
1  sur  52
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 29.1  Internet audio/video
Streaming stored audio/video refers to on-demand requests for compressed audio/video files. Note
Streaming live audio/video refers to the broadcasting of radio and TV programs through the Internet. Note
Interactive audio/video refers to the use of the Internet for interactive audio/video applications. Note
29-1  DIGITIZING AUDIO AND VIDEO Before audio or video signals can be sent on the Internet, they need to be digitized. We discuss audio and video separately. Digitizing Audio Digitizing Video Topics discussed in this section:
Compression is needed to send video over the Internet. Note
29-2  AUDIO AND VIDEO COMPRESSION To send audio or video over the Internet requires compression. In this section, we discuss audio compression first and then video compression. Audio Compression Video Compression Topics discussed in this section:
Figure 29.2  JPEG gray scale
Figure 29.3  JPEG process
Figure 29.4  Case 1: uniform gray scale
Figure 29.5  Case 2: two sections
Figure 29.6  Case 3: gradient gray scale
Figure 29.7  Reading the table
Figure 29.8  MPEG frames
Figure 29.9  MPEG frame construction
29-3  STREAMING STORED AUDIO/VIDEO Now that we have discussed digitizing and compressing audio/video, we turn our attention to specific applications. The first is streaming stored audio and video.  First Approach: Using a Web Server Second Approach: Using a Web Server with a Metafile Third Approach: Using a Media Server Fourth Approach: Using a Media Server and RTSP Topics discussed in this section:
Figure 29.10  Using a Web server
Figure 29.11  Using a Web server with a metafile
Figure 29.12  Using a media server
Figure 29.13  Using a media server and RTSP
29-4  STREAMING LIVE AUDIO/VIDEO Streaming live audio/video is similar to the broadcasting of audio and video by radio and TV stations. Instead of broadcasting to the air, the stations broadcast through the Internet. There are several similarities between streaming stored audio/video and streaming live audio/video. They are both sensitive to delay; neither can accept retransmission. However, there is a difference. In the first application, the communication is unicast and on-demand. In the second, the communication is multicast and live.
29-5  REAL-TIME INTERACTIVE   AUDIO/VIDEO In real-time interactive audio/video, people communicate with one another in real time. The Internet phone or voice over IP is an example of this type of application. Video conferencing is another example that allows people to communicate visually and orally. Characteristics Topics discussed in this section:
Figure 29.14  Time relationship
Jitter is introduced in real-time data by the delay between packets. Note
Figure 29.15  Jitter
Figure 29.16  Timestamp
To prevent jitter, we can time-stamp the packets and separate the arrival time from the playback time. Note
Figure 29.17  Playback buffer
A playback buffer is required for real-time traffic. Note
A sequence number on each packet is required for real-time traffic. Note
Real-time traffic needs the support of multicasting. Note
Translation means changing the encoding of a payload to a lower  quality to match the bandwidth of the  receiving network. Note
Mixing means combining several streams of traffic into one stream. Note
TCP, with all its sophistication, is not suitable for interactive multimedia traffic because we cannot allow retransmission of packets. Note
UDP is more suitable than TCP for interactive traffic. However, we  need the services of RTP, another transport layer  protocol, to make up  for the deficiencies  of UDP. Note
29-6  RTP Real-time Transport Protocol (RTP) is the protocol designed to handle real-time traffic on the Internet. RTP does not have a delivery mechanism; it must be used with UDP. RTP stands between UDP and the application program. The main contributions of RTP are time-stamping, sequencing, and mixing facilities. RTP Packet Format UDP Port Topics discussed in this section:
Figure 29.18  RTP
Figure 29.19  RTP packet header format
Table 20.1  Payload types
RTP uses a temporary even-numbered UDP port. Note
29-7  RTCP RTP allows only one type of message, one that carries data from the source to the destination. In many cases, there is a need for other messages in a session. These messages control the flow and quality of data and allow the recipient to send feedback to the source or sources. Real-time Transport Control Protocol (RTCP) is a protocol designed for this purpose.  Sender Report and  Receiver Report Messages UDP Port Topics discussed in this section:
Figure 29.20  RTCP message types
RTCP uses an odd-numbered UDP port number that follows the port number selected for RTP. Note
29-8  VOICE OVER IP Let us concentrate on one real-time interactive audio/video application: voice over IP, or Internet telephony. The idea is to use the Internet as a telephone network with some additional capabilities.  Two protocols have been designed to handle this type of communication: SIP and H.323. SIP H.323 Topics discussed in this section:
Figure 29.21  SIP messages
Figure 29.22  SIP formats
Figure 29.23  SIP simple session
Figure 29.24  Tracking the callee
Figure 29.25  H.323 architecture
Figure 29.26  H.323 protocols
Figure 29.27  H.323 example

Contenu connexe

Tendances

#Digital Caribbean: Dr Peter Siebert, DVB Project Office
#Digital Caribbean: Dr Peter Siebert, DVB Project Office#Digital Caribbean: Dr Peter Siebert, DVB Project Office
#Digital Caribbean: Dr Peter Siebert, DVB Project Office
CommonwealthBroadcastingAssoc
 
EBU_DVB_S2 READY TO LIFT OFF
EBU_DVB_S2 READY TO LIFT OFFEBU_DVB_S2 READY TO LIFT OFF
EBU_DVB_S2 READY TO LIFT OFF
aniruddh Tyagi
 
A novel marking mechanism for packet video delivery over diff serv networks
A novel marking mechanism for packet video delivery over diff serv networksA novel marking mechanism for packet video delivery over diff serv networks
A novel marking mechanism for packet video delivery over diff serv networks
Alpen-Adria-Universität
 
Final presentation
Final presentationFinal presentation
Final presentation
Rohan Lad
 
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriersImplementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
IAEME Publication
 
Transport methods in 3DTV--A Survey
Transport methods in 3DTV--A SurveyTransport methods in 3DTV--A Survey
Transport methods in 3DTV--A Survey
Kevin Tong
 
Digital Communication Sytems
Digital Communication SytemsDigital Communication Sytems
Digital Communication Sytems
Raghu Kasula
 
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
Raoul Monnier
 

Tendances (20)

Digital Television
Digital TelevisionDigital Television
Digital Television
 
Communication medium in modern tv
Communication medium in modern tvCommunication medium in modern tv
Communication medium in modern tv
 
Digital Video Broadcasting (DVB)
Digital Video Broadcasting (DVB)Digital Video Broadcasting (DVB)
Digital Video Broadcasting (DVB)
 
Direct satellite broadcast receiver using mpeg 2
Direct satellite broadcast receiver using mpeg 2Direct satellite broadcast receiver using mpeg 2
Direct satellite broadcast receiver using mpeg 2
 
#Digital Caribbean: Dr Peter Siebert, DVB Project Office
#Digital Caribbean: Dr Peter Siebert, DVB Project Office#Digital Caribbean: Dr Peter Siebert, DVB Project Office
#Digital Caribbean: Dr Peter Siebert, DVB Project Office
 
DAB Radio
DAB RadioDAB Radio
DAB Radio
 
T2 Lite | Next Generation of Digital Radio at DVB World 2015 March 24th
T2 Lite | Next Generation of Digital Radio at DVB World 2015 March 24thT2 Lite | Next Generation of Digital Radio at DVB World 2015 March 24th
T2 Lite | Next Generation of Digital Radio at DVB World 2015 March 24th
 
EBU_DVB_S2 READY TO LIFT OFF
EBU_DVB_S2 READY TO LIFT OFFEBU_DVB_S2 READY TO LIFT OFF
EBU_DVB_S2 READY TO LIFT OFF
 
Telecommunicatoins and Fiber Optics
Telecommunicatoins and Fiber OpticsTelecommunicatoins and Fiber Optics
Telecommunicatoins and Fiber Optics
 
A novel marking mechanism for packet video delivery over diff serv networks
A novel marking mechanism for packet video delivery over diff serv networksA novel marking mechanism for packet video delivery over diff serv networks
A novel marking mechanism for packet video delivery over diff serv networks
 
Is T2 Lite becoming the new frontier for digital radio? T2 Lite vs DAB+
Is T2 Lite becoming the new frontier for digital radio? T2 Lite vs DAB+Is T2 Lite becoming the new frontier for digital radio? T2 Lite vs DAB+
Is T2 Lite becoming the new frontier for digital radio? T2 Lite vs DAB+
 
digital tv DTMB
digital tv DTMBdigital tv DTMB
digital tv DTMB
 
ESTIMATION OF CHANNEL IN OFDM WIRELESS CHANNEL USING LS AND MMSE TECHNIQUES
ESTIMATION OF CHANNEL IN OFDM WIRELESS CHANNEL USING LS AND MMSE TECHNIQUESESTIMATION OF CHANNEL IN OFDM WIRELESS CHANNEL USING LS AND MMSE TECHNIQUES
ESTIMATION OF CHANNEL IN OFDM WIRELESS CHANNEL USING LS AND MMSE TECHNIQUES
 
Final presentation
Final presentationFinal presentation
Final presentation
 
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriersImplementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
 
DVB-T2 Lite vs. DAB+ for Digital Radio (English version)
DVB-T2 Lite vs. DAB+ for Digital Radio (English version)DVB-T2 Lite vs. DAB+ for Digital Radio (English version)
DVB-T2 Lite vs. DAB+ for Digital Radio (English version)
 
Transport methods in 3DTV--A Survey
Transport methods in 3DTV--A SurveyTransport methods in 3DTV--A Survey
Transport methods in 3DTV--A Survey
 
Short survey for Channel estimation using OFDM systems
Short survey for Channel estimation using OFDM systemsShort survey for Channel estimation using OFDM systems
Short survey for Channel estimation using OFDM systems
 
Digital Communication Sytems
Digital Communication SytemsDigital Communication Sytems
Digital Communication Sytems
 
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
H2B2VS (HEVC hybrid broadcast broadband video services) – Building innovative...
 

En vedette (9)

Chapter 16
Chapter 16Chapter 16
Chapter 16
 
Chapter 24
Chapter 24Chapter 24
Chapter 24
 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
 
RTP
RTPRTP
RTP
 
Multimedia Network
Multimedia NetworkMultimedia Network
Multimedia Network
 
RTP & RTCP
RTP & RTCPRTP & RTCP
RTP & RTCP
 
VPN (virtual Private Network)
VPN (virtual Private Network)VPN (virtual Private Network)
VPN (virtual Private Network)
 
Vpn presentation
Vpn presentationVpn presentation
Vpn presentation
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 

Similaire à Chapter 29

PowerPoint_merge (2).pdf
PowerPoint_merge (2).pdfPowerPoint_merge (2).pdf
PowerPoint_merge (2).pdf
ssuser3b47e6
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
Mohd Arif
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
Khánh Ghẻ
 

Similaire à Chapter 29 (20)

29 Multimedia
29 Multimedia29 Multimedia
29 Multimedia
 
chap29.ppt
chap29.pptchap29.ppt
chap29.ppt
 
Ch 28
Ch 28Ch 28
Ch 28
 
Internet Video
Internet VideoInternet Video
Internet Video
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
 
Chap 14
Chap 14Chap 14
Chap 14
 
UDP and TCP header.ppt
UDP and TCP header.pptUDP and TCP header.ppt
UDP and TCP header.ppt
 
PowerPoint_merge (2).pdf
PowerPoint_merge (2).pdfPowerPoint_merge (2).pdf
PowerPoint_merge (2).pdf
 
Multimedia lecture6
Multimedia lecture6Multimedia lecture6
Multimedia lecture6
 
Chap 11
Chap 11Chap 11
Chap 11
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
Real time transport protocol
Real time transport protocolReal time transport protocol
Real time transport protocol
 
PowerPoint_merge.ppt
PowerPoint_merge.pptPowerPoint_merge.ppt
PowerPoint_merge.ppt
 
#KPC #CST #Protocols
#KPC #CST #Protocols #KPC #CST #Protocols
#KPC #CST #Protocols
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
 
Transportlayer.ppt
Transportlayer.pptTransportlayer.ppt
Transportlayer.ppt
 
Chap-13.ppt
Chap-13.pptChap-13.ppt
Chap-13.ppt
 
TransportLayerServices.ppt
TransportLayerServices.pptTransportLayerServices.ppt
TransportLayerServices.ppt
 
TCP & UDP Streaming Comparison and a Study on DCCP & SCTP Protocols
TCP & UDP Streaming Comparison and a Study on DCCP & SCTP ProtocolsTCP & UDP Streaming Comparison and a Study on DCCP & SCTP Protocols
TCP & UDP Streaming Comparison and a Study on DCCP & SCTP Protocols
 
Chap 25
Chap 25Chap 25
Chap 25
 

Plus de Faisal Mehmood (20)

Indoor Comfort Index Monitoring System using KNN algorithm
Indoor Comfort Index Monitoring System using KNN algorithmIndoor Comfort Index Monitoring System using KNN algorithm
Indoor Comfort Index Monitoring System using KNN algorithm
 
Raspberry pi and Google Cloud
Raspberry pi and Google CloudRaspberry pi and Google Cloud
Raspberry pi and Google Cloud
 
Raspberry pi and Azure
Raspberry pi and AzureRaspberry pi and Azure
Raspberry pi and Azure
 
Raspberry pi and AWS
Raspberry pi and AWSRaspberry pi and AWS
Raspberry pi and AWS
 
Raspbian Noobs
Raspbian NoobsRaspbian Noobs
Raspbian Noobs
 
Lecture 44
Lecture 44Lecture 44
Lecture 44
 
Lecture 37 cond prob
Lecture 37 cond probLecture 37 cond prob
Lecture 37 cond prob
 
Lecture 20 combinatorics o
Lecture 20 combinatorics oLecture 20 combinatorics o
Lecture 20 combinatorics o
 
Lecture 36 laws of prob
Lecture 36 laws of probLecture 36 laws of prob
Lecture 36 laws of prob
 
Lecture 36
Lecture 36 Lecture 36
Lecture 36
 
Lecture 35 prob
Lecture 35 probLecture 35 prob
Lecture 35 prob
 
Lecture 27
Lecture 27Lecture 27
Lecture 27
 
Lecture 26
Lecture 26Lecture 26
Lecture 26
 
Lecture 25
Lecture 25Lecture 25
Lecture 25
 
Lecture 24
Lecture 24Lecture 24
Lecture 24
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Lecture 21
Lecture 21Lecture 21
Lecture 21
 
Lecture 20
Lecture 20Lecture 20
Lecture 20
 
Lecture 19 counting
Lecture 19 countingLecture 19 counting
Lecture 19 counting
 
Lecture 18 recursion
Lecture 18 recursionLecture 18 recursion
Lecture 18 recursion
 

Dernier

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Chapter 29

  • 1. Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
  • 2. Figure 29.1 Internet audio/video
  • 3. Streaming stored audio/video refers to on-demand requests for compressed audio/video files. Note
  • 4. Streaming live audio/video refers to the broadcasting of radio and TV programs through the Internet. Note
  • 5. Interactive audio/video refers to the use of the Internet for interactive audio/video applications. Note
  • 6. 29-1 DIGITIZING AUDIO AND VIDEO Before audio or video signals can be sent on the Internet, they need to be digitized. We discuss audio and video separately. Digitizing Audio Digitizing Video Topics discussed in this section:
  • 7. Compression is needed to send video over the Internet. Note
  • 8. 29-2 AUDIO AND VIDEO COMPRESSION To send audio or video over the Internet requires compression. In this section, we discuss audio compression first and then video compression. Audio Compression Video Compression Topics discussed in this section:
  • 9. Figure 29.2 JPEG gray scale
  • 10. Figure 29.3 JPEG process
  • 11. Figure 29.4 Case 1: uniform gray scale
  • 12. Figure 29.5 Case 2: two sections
  • 13. Figure 29.6 Case 3: gradient gray scale
  • 14. Figure 29.7 Reading the table
  • 15. Figure 29.8 MPEG frames
  • 16. Figure 29.9 MPEG frame construction
  • 17. 29-3 STREAMING STORED AUDIO/VIDEO Now that we have discussed digitizing and compressing audio/video, we turn our attention to specific applications. The first is streaming stored audio and video. First Approach: Using a Web Server Second Approach: Using a Web Server with a Metafile Third Approach: Using a Media Server Fourth Approach: Using a Media Server and RTSP Topics discussed in this section:
  • 18. Figure 29.10 Using a Web server
  • 19. Figure 29.11 Using a Web server with a metafile
  • 20. Figure 29.12 Using a media server
  • 21. Figure 29.13 Using a media server and RTSP
  • 22. 29-4 STREAMING LIVE AUDIO/VIDEO Streaming live audio/video is similar to the broadcasting of audio and video by radio and TV stations. Instead of broadcasting to the air, the stations broadcast through the Internet. There are several similarities between streaming stored audio/video and streaming live audio/video. They are both sensitive to delay; neither can accept retransmission. However, there is a difference. In the first application, the communication is unicast and on-demand. In the second, the communication is multicast and live.
  • 23. 29-5 REAL-TIME INTERACTIVE AUDIO/VIDEO In real-time interactive audio/video, people communicate with one another in real time. The Internet phone or voice over IP is an example of this type of application. Video conferencing is another example that allows people to communicate visually and orally. Characteristics Topics discussed in this section:
  • 24. Figure 29.14 Time relationship
  • 25. Jitter is introduced in real-time data by the delay between packets. Note
  • 26. Figure 29.15 Jitter
  • 27. Figure 29.16 Timestamp
  • 28. To prevent jitter, we can time-stamp the packets and separate the arrival time from the playback time. Note
  • 29. Figure 29.17 Playback buffer
  • 30. A playback buffer is required for real-time traffic. Note
  • 31. A sequence number on each packet is required for real-time traffic. Note
  • 32. Real-time traffic needs the support of multicasting. Note
  • 33. Translation means changing the encoding of a payload to a lower quality to match the bandwidth of the receiving network. Note
  • 34. Mixing means combining several streams of traffic into one stream. Note
  • 35. TCP, with all its sophistication, is not suitable for interactive multimedia traffic because we cannot allow retransmission of packets. Note
  • 36. UDP is more suitable than TCP for interactive traffic. However, we need the services of RTP, another transport layer protocol, to make up for the deficiencies of UDP. Note
  • 37. 29-6 RTP Real-time Transport Protocol (RTP) is the protocol designed to handle real-time traffic on the Internet. RTP does not have a delivery mechanism; it must be used with UDP. RTP stands between UDP and the application program. The main contributions of RTP are time-stamping, sequencing, and mixing facilities. RTP Packet Format UDP Port Topics discussed in this section:
  • 39. Figure 29.19 RTP packet header format
  • 40. Table 20.1 Payload types
  • 41. RTP uses a temporary even-numbered UDP port. Note
  • 42. 29-7 RTCP RTP allows only one type of message, one that carries data from the source to the destination. In many cases, there is a need for other messages in a session. These messages control the flow and quality of data and allow the recipient to send feedback to the source or sources. Real-time Transport Control Protocol (RTCP) is a protocol designed for this purpose. Sender Report and Receiver Report Messages UDP Port Topics discussed in this section:
  • 43. Figure 29.20 RTCP message types
  • 44. RTCP uses an odd-numbered UDP port number that follows the port number selected for RTP. Note
  • 45. 29-8 VOICE OVER IP Let us concentrate on one real-time interactive audio/video application: voice over IP, or Internet telephony. The idea is to use the Internet as a telephone network with some additional capabilities. Two protocols have been designed to handle this type of communication: SIP and H.323. SIP H.323 Topics discussed in this section:
  • 46. Figure 29.21 SIP messages
  • 47. Figure 29.22 SIP formats
  • 48. Figure 29.23 SIP simple session
  • 49. Figure 29.24 Tracking the callee
  • 50. Figure 29.25 H.323 architecture
  • 51. Figure 29.26 H.323 protocols
  • 52. Figure 29.27 H.323 example