43
Multimedia Networking Sound, Video

Multimedia Networking

  • Upload
    elie

  • View
    55

  • Download
    0

Embed Size (px)

DESCRIPTION

Multimedia Networking. Sound, Video. Applications. Downloadable files Streaming Video Streaming Audio VoIP (Voice over IP) Internet Phone. Problems for multimedia. Best-effort-service No promises about delay Packet jitter Variable packet delays Dropped packets - PowerPoint PPT Presentation

Citation preview

Page 1: Multimedia Networking

Multimedia Networking

Sound, Video

Page 2: Multimedia Networking

Applications

• Downloadable files• Streaming Video• Streaming Audio• VoIP (Voice over IP)

– Internet Phone

Page 3: Multimedia Networking

Problems for multimedia

• Best-effort-service– No promises about delay

• Packet jitter– Variable packet delays

• Dropped packets– Time delay caused by out of sequence

packets

Page 4: Multimedia Networking

Fixes

• Faster internet ISPs– More bandwidth for the Internet

• Content distribution networks (CDNs)– Distribute the data over a wider area (edges of the

internet)• Multicasting (multicast overlay network)

– Not IP multicast but a server based distributed multicast.

Page 5: Multimedia Networking

Human Interface• Hearing limitations

– Ear response 20 to 20,000 Hertz– Networking speeds are up to 100,000,000,000 hertz– Phonemes are from 5-100msec– Ear does not respond to delays < 150msec

• Visual limitations– The eye retention is about 60 msec.– Any transfer faster than 16 frames per second will

not appear to flicker.

Page 6: Multimedia Networking

Data Preparation• Audio and Video compression

– Sampling rate– Quantization (rounding samples to finite values)– Fit the quantization values into a fixed size– Pulse Code Modulation (PCM)

• Sample rate * # of bits * 2 (if stereo)– Compression

• GSM (Global System Mobile) or G.723.3 (ADPCM)• MPEG 1 layer 3 or MP3

• Coding/Decoding – Codecs

Page 7: Multimedia Networking

Video Compression

• MPEG1 CD-ROM quality• MPEG 2 for DVD quality• MPEG4 for object oriented• H.261• Proprietary

– Apple Quick Time– Real Networks

Page 8: Multimedia Networking

Protocols

• RTP (Real Time Protocol)• RTSP (Real Time Streaming Protocol)• These are not IP protocols but are

accessed via help applications in browsers• They provide:

– Decompression– Jitter Removal– Error Correction

Page 9: Multimedia Networking

Types of transfer

• Web server file access– Download the multimedia file– Play the file on Windows media player or your

favorite version of player.– Requires local storage of the file

• Streaming– Access the audio/video stream via web server– Playback portions of the stream in real time via

the streaming server.

Page 10: Multimedia Networking

RTSP

• Real Time Streaming protocol– Does not set compression schemes– Does not define encapsulation– Does not restrict the transport– Does not restrict buffering

• Uses out-of-band signaling (separate port)

Page 11: Multimedia Networking
Page 12: Multimedia Networking

Internet Phone Example

• Packet Loss• Packet Jitter

Page 13: Multimedia Networking

Packet Loss Recovery• Forward Error Correction

– Piggybacking redundant information– Utilizes lower bit rate chunks for redundancy– Works well for harsh environments

• Interleaving– Splitting the stream across several packets– Increased latency (delays)

• Packet repetition– Copies good packets to replace lost ones.– Works well for small loss rates

Page 14: Multimedia Networking

End to End Delays

• The human ear smaller than 150msec are indiscernible to the human ear

• If the delay exceeds 400msec then the packet is lost.

Page 15: Multimedia Networking

Packet Jitter

• Delay fluctuations between packets.• Removing Jitter

– Use sequence numbers, timestamps and:– Fixed Playout Delay

• Delay before playing packet• Phone system can handle 400 msecs of delay

– Adaptive Playout delay• Adjust delay depending on the flow of data

Page 16: Multimedia Networking

Real Time Protocol

• Runs on top of UDP (for speed)• Packet header includes:

– Payload type– Sequence number– Timestamp– Sync source identification number– Miscellaneous

• Defines which coding method is used and timing to overcome jitter.

Page 17: Multimedia Networking

RTCP

• Real Tine Control Protocol• Used to communicate information from

source to destination.– Sync Source ID– Packets lost– Last sequence number– Number of bytes in the stream– Scaling parameters (packet size)

Page 18: Multimedia Networking

Session Initiation Protocol

• Internet Phone• Sorta like Telnet for the phone system

Page 19: Multimedia Networking

Name Translation

• SIP Proxy– Authenticates SIP invitations

• SIP registrar– Keeps track of the users IP address

Page 20: Multimedia Networking

H.323

• Internet Phone to PSTN (Public Switched Telephone Network)– Defines how endpoints negotiate audio/visual

encodings– Defines how to encapsulate data– Defines how to communicate with

gatekeepers – Defines how VoIP interfaces with ordinary

telephones.

Page 21: Multimedia Networking

Queuing Schemes

• FIFO (First In First Out)– Every packet in order regardless of class

Page 22: Multimedia Networking

Queuing Schemes

• Priority Queuing– Based on priority class in header

Page 23: Multimedia Networking

Queuing Schemes

• Round Robin/Weighted Fair Queuing– Based on class of service

Page 24: Multimedia Networking

Reservation Protocol

• RSVP– Provides for resource reservation in multicast

trees– Receiver oriented, receiver initiates and

maintains resource reservations• Handles the problem of different speed

receivers all following the same video/audio stream

Page 25: Multimedia Networking

Tour of USU Network Infrastructure

Page 26: Multimedia Networking

Borrowed Space in Telephone Switching Site

Surge Protectors

Cross-Connect Blocks

Page 27: Multimedia Networking

Telephone Equipment

Wiring trays above is typical for telephone locations

Page 28: Multimedia Networking

Now that’s a Ground!

Page 29: Multimedia Networking
Page 30: Multimedia Networking
Page 31: Multimedia Networking

10BaseT Hubs

10/100 switchwith FDDI

FDDI Concentrator

10/100 switch

Router

Media Converters

Fiber Optics

Page 32: Multimedia Networking

Close up View

Page 33: Multimedia Networking

Media Converters

Page 34: Multimedia Networking

Computer Room in SER Building

Servers, Building Network, and Campus Networking

Page 35: Multimedia Networking

Internet Feed

Cisco Border Router Pix Fire Wall USU/UEN

Interface

Primary USU CiscoRouter Rest of USU Campus

UEN Internet

FeedSalt Lake

180 Mbs

Packeteer

Housing

Page 36: Multimedia Networking

Connections for building network

StudentHousing

Other Campus Network Equipment

Page 37: Multimedia Networking

Front Side of Equipment Racks

Page 38: Multimedia Networking

Inside of Fiber Panels

Page 39: Multimedia Networking

Internet gateway router

Switch with router card & 100BaseFX connections

Page 40: Multimedia Networking

Misc. Novellservers

Page 41: Multimedia Networking

VMS clustera.k.a.

cc.usu.edu

barney sneezy

opie

grumpy

sleepy

Page 42: Multimedia Networking

Cluster Connections

.89 .86 .85 .87 .150

Foundry Load BalancingSwitch

Barney Grumpy Sleepy Sneezy Opie

USU Backbone

129.123.1.1cc.usu.edu

Page 43: Multimedia Networking

Multimedia Networking