meljun cortes network management 29
TRANSCRIPT
![Page 1: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/1.jpg)
29.1
Chapter 29Multimedia
MELJUN CORTESMELJUN CORTES
![Page 2: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/2.jpg)
29.2
Figure 29.1 Internet audio/video
![Page 3: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/3.jpg)
29.3
Streaming stored audio/video refers to on-demand requests for compressed
audio/video files.
Note
![Page 4: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/4.jpg)
29.4
Streaming live audio/video refers to the broadcasting of radio and TV programs
through the Internet.
Note
![Page 5: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/5.jpg)
29.5
Interactive audio/video refers to the use of the Internet for interactive audio/video
applications.
Note
![Page 6: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/6.jpg)
29.6
29-1 DIGITIZING AUDIO AND VIDEO29-1 DIGITIZING AUDIO AND VIDEO
Before audio or video signals can be sent on the Before audio or video signals can be sent on the Internet, they need to be digitized. We discuss audio Internet, they need to be digitized. We discuss audio and video separately.and video separately.
Digitizing AudioDigitizing Video
Topics discussed in this section:Topics discussed in this section:
![Page 7: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/7.jpg)
29.7
Compression is needed to send video over the Internet.
Note
![Page 8: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/8.jpg)
29.8
29-2 AUDIO AND VIDEO COMPRESSION29-2 AUDIO AND VIDEO COMPRESSION
To send audio or video over the Internet requires To send audio or video over the Internet requires compression. In this section, we discuss audio compression. In this section, we discuss audio compression first and then video compression.compression first and then video compression.
Audio CompressionVideo Compression
Topics discussed in this section:Topics discussed in this section:
![Page 9: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/9.jpg)
29.9
Figure 29.2 JPEG gray scale
![Page 10: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/10.jpg)
29.10
Figure 29.3 JPEG process
![Page 11: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/11.jpg)
29.11
Figure 29.4 Case 1: uniform gray scale
![Page 12: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/12.jpg)
29.12
Figure 29.5 Case 2: two sections
![Page 13: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/13.jpg)
29.13
Figure 29.6 Case 3: gradient gray scale
![Page 14: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/14.jpg)
29.14
Figure 29.7 Reading the table
![Page 15: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/15.jpg)
29.15
Figure 29.8 MPEG frames
![Page 16: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/16.jpg)
29.16
Figure 29.9 MPEG frame construction
![Page 17: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/17.jpg)
29.17
29-3 STREAMING STORED AUDIO/VIDEO29-3 STREAMING STORED AUDIO/VIDEO
Now that we have discussed digitizing and Now that we have discussed digitizing and compressing audio/video, we turn our attention to compressing audio/video, we turn our attention to specific applications. The first is streaming stored specific applications. The first is streaming stored audio and video. audio and video.
First Approach: Using a Web ServerSecond Approach: Using a Web Server with a MetafileThird Approach: Using a Media ServerFourth Approach: Using a Media Server and RTSP
Topics discussed in this section:Topics discussed in this section:
![Page 18: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/18.jpg)
29.18
Figure 29.10 Using a Web server
![Page 19: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/19.jpg)
29.19
Figure 29.11 Using a Web server with a metafile
![Page 20: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/20.jpg)
29.20
Figure 29.12 Using a media server
![Page 21: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/21.jpg)
29.21
Figure 29.13 Using a media server and RTSP
![Page 22: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/22.jpg)
29.22
29-4 STREAMING LIVE AUDIO/VIDEO29-4 STREAMING LIVE AUDIO/VIDEO
Streaming live audio/video is similar to the Streaming live audio/video is similar to the broadcasting of audio and video by radio and TV broadcasting of audio and video by radio and TV stations. Instead of broadcasting to the air, the stations stations. Instead of broadcasting to the air, the stations broadcast through the Internet. There are several broadcast through the Internet. There are several similarities between streaming stored audio/video andsimilarities between streaming stored audio/video andstreaming live audio/video. They are both sensitive to streaming live audio/video. They are both sensitive to delay; neither can accept retransmission. However, delay; neither can accept retransmission. However, there is a difference. In the first application, the there is a difference. In the first application, the communication is unicast and on-demand. In the communication is unicast and on-demand. In the second, the communication is multicast and live. second, the communication is multicast and live.
![Page 23: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/23.jpg)
29.23
29-5 REAL-TIME INTERACTIVE29-5 REAL-TIME INTERACTIVE AUDIO/VIDEO AUDIO/VIDEO
In real-time interactive audio/video, people In real-time interactive audio/video, people communicate with one another in real time. The communicate with one another in real time. The Internet phone or voice over IP is an example of this Internet phone or voice over IP is an example of this type of application. Video conferencing is another type of application. Video conferencing is another example that allows people to communicate visually example that allows people to communicate visually and orally.and orally.
CharacteristicsTopics discussed in this section:Topics discussed in this section:
![Page 24: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/24.jpg)
29.24
Figure 29.14 Time relationship
![Page 25: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/25.jpg)
29.25
Jitter is introduced in real-time data by the delay between packets.
Note
![Page 26: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/26.jpg)
29.26
Figure 29.15 Jitter
![Page 27: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/27.jpg)
29.27
Figure 29.16 Timestamp
![Page 28: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/28.jpg)
29.28
To prevent jitter, we can time-stamp the packets and separate the arrival time
from the playback time.
Note
![Page 29: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/29.jpg)
29.29
Figure 29.17 Playback buffer
![Page 30: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/30.jpg)
29.30
A playback buffer is required for real-time traffic.
Note
![Page 31: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/31.jpg)
29.31
A sequence number on each packet is required for real-time traffic.
Note
![Page 32: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/32.jpg)
29.32
Real-time traffic needs the support of multicasting.
Note
![Page 33: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/33.jpg)
29.33
Translation means changing the encoding of a payload to a lower quality to match the bandwidth
of the receiving network.
Note
![Page 34: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/34.jpg)
29.34
Mixing means combining several streams of traffic into one stream.
Note
![Page 35: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/35.jpg)
29.35
TCP, with all its sophistication, is not suitable for interactive multimedia
traffic because we cannot allow retransmission of packets.
Note
![Page 36: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/36.jpg)
29.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
![Page 37: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/37.jpg)
29.37
29-6 RTP29-6 RTP
Real-time Transport Protocol (RTP) is the protocol Real-time Transport Protocol (RTP) is the protocol designed to handle real-time traffic on the Internet. designed to handle real-time traffic on the Internet. RTP does not have a delivery mechanism; it must be RTP does not have a delivery mechanism; it must be used with UDP. RTP stands between UDP and the used with UDP. RTP stands between UDP and the application program. The main contributions of RTP application program. The main contributions of RTP are time-stamping, sequencing, and mixing facilities.are time-stamping, sequencing, and mixing facilities.
RTP Packet FormatUDP Port
Topics discussed in this section:Topics discussed in this section:
![Page 38: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/38.jpg)
29.38
Figure 29.18 RTP
![Page 39: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/39.jpg)
29.39
Figure 29.19 RTP packet header format
![Page 40: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/40.jpg)
29.40
Table 20.1 Payload types
![Page 41: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/41.jpg)
29.41
RTP uses a temporary even-numbered UDP port.
Note
![Page 42: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/42.jpg)
29.42
29-7 RTCP29-7 RTCP
RTP allows only one type of message, one that carries RTP allows only one type of message, one that carries data from the source to the destination. In many cases, data from the source to the destination. In many cases, there is a need for other messages in a session. These there is a need for other messages in a session. These messages control the flow and quality of data and messages control the flow and quality of data and allow the recipient to send feedback to the sourceallow the recipient to send feedback to the sourceor sources. Real-time Transport Control Protocol or sources. Real-time Transport Control Protocol (RTCP) is a protocol designed for this purpose. (RTCP) is a protocol designed for this purpose.
Sender Report and Receiver ReportMessagesUDP Port
Topics discussed in this section:Topics discussed in this section:
![Page 43: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/43.jpg)
29.43
Figure 29.20 RTCP message types
![Page 44: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/44.jpg)
29.44
RTCP uses an odd-numbered UDP port number that follows the port number
selected for RTP.
Note
![Page 45: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/45.jpg)
29.45
29-8 VOICE OVER IP29-8 VOICE OVER IP
Let us concentrate on one real-time interactive Let us concentrate on one real-time interactive audio/video application: voice over IP, or Internet audio/video application: voice over IP, or Internet telephony. The idea is to use the Internet as a telephony. The idea is to use the Internet as a telephone network with some additional capabilities. telephone network with some additional capabilities. Two protocols have been designed to handle this type Two protocols have been designed to handle this type of communication: SIP and H.323.of communication: SIP and H.323.
SIPH.323
Topics discussed in this section:Topics discussed in this section:
![Page 46: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/46.jpg)
29.46
Figure 29.21 SIP messages
![Page 47: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/47.jpg)
29.47
Figure 29.22 SIP formats
![Page 48: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/48.jpg)
29.48
Figure 29.23 SIP simple session
![Page 49: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/49.jpg)
29.49
Figure 29.24 Tracking the callee
![Page 50: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/50.jpg)
29.50
Figure 29.25 H.323 architecture
![Page 51: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/51.jpg)
29.51
Figure 29.26 H.323 protocols
![Page 52: MELJUN CORTES NETWORK MANAGEMENT 29](https://reader030.vdocument.in/reader030/viewer/2022020301/587670571a28abd0018b6003/html5/thumbnails/52.jpg)
29.52
Figure 29.27 H.323 example