how streaming media works
DESCRIPTION
How Streaming Media Works. Bilguun Ginjbaatar IT 665 Nov 14, 2006. Outline. Introduction: What’s Streaming? Source Material for Streaming Streaming Technology Streaming Servers Media Players Streaming Audio Streaming Video Bandwidth How Does Edinboro University broadcast? Protocols. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/1.jpg)
1
How Streaming Media Works
Bilguun GinjbaatarIT 665Nov 14, 2006
![Page 2: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/2.jpg)
2
Outline
• Introduction: What’s Streaming?• Source Material for Streaming• Streaming Technology• Streaming Servers• Media Players• Streaming Audio• Streaming Video• Bandwidth• How Does Edinboro University broadcast?• Protocols
![Page 3: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/3.jpg)
3
![Page 4: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/4.jpg)
4
Playing compressed video or sound in real time as it is downloaded over the internet
![Page 5: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/5.jpg)
5
![Page 6: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/6.jpg)
6
![Page 7: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/7.jpg)
7
![Page 8: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/8.jpg)
8
![Page 9: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/9.jpg)
9
![Page 10: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/10.jpg)
10
![Page 11: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/11.jpg)
11
![Page 12: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/12.jpg)
Streaming AudioStreaming Audio
1.1. Capture Audio SourceCapture Audio Source
-Microphone
-CD
2.2. Optimizing the Audio SourceOptimizing the Audio Source
-Use sound editor
3. Encoding the streaming audio Encoding the streaming audio clipclip
-choose streaming format
-choose one or several streaming bandwidth
4. Deliver the streaming audio clipDeliver the streaming audio clip
-broadcast is available through website
-If combined with another streaming clip, create SMIL file.
![Page 13: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/13.jpg)
13
Streaming Audio Bit RatesStreaming Audio Bit Rates
Internet Radio=56 Kbps, Talk show=32 Kbps, Stereo & CD Quality=256 Kbps
![Page 15: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/15.jpg)
15
Streaming Bandwidth and StorageStreaming Bandwidth and Storage
• Usual Video window size: 320 x 240• Streaming Media Storage Size
– Megabytes– Gigabytes– Terabytes
• What’s the Storage Size for 1 hour of video, encoded at 300kb/s?
![Page 16: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/16.jpg)
16
Streaming Video (Webcast)
![Page 17: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/17.jpg)
17
How does EUP broadcast the Commencement Ceremony?
Firewire
http://147.64.32.6
Windows 2003 Server
http://147.64.32.8: Port 1185
Ross Hall
Windows Media Encoder
64Kbps
256 Kbps
![Page 18: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/18.jpg)
18
Protocols• User Datagram Protocol
(UDP)• Real-Time Streaming Protocol
(RTSP)• Real Data Transport
(RDT)• Real-time Transport Protocol
(RTP)• Real-Time Transfer Control Protocol
(RTCP)• Resource ReSerVation Protocol
(RSVP)
![Page 19: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/19.jpg)
19
UDP
• Sends media as series of small packets
• Provides connectionless & best-effort message service
• Simple & efficient
• Packets are liable to be lost or corrupted
• Client may use Error Correction to recover data or Drop Out
![Page 20: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/20.jpg)
20
RTSP• Developed in 1998 as RFC-2326• Allows client remotely control: play, pause, next• Clients: RealPlayer, VideoLAN, MPlayer, Windows MP, Quicktime
• Session ID is used to keep track– No permanent TCP connection needed
• RTSP requests based on HTTP– DESCRIBE: includes rtsp://…– SETUP: request specifies how a single media stream must be
transported – PLAY: request will cause one or all media streams to be played – RECORD: used to send a stream to the server for storage – TEARDWON: used to terminate the session
![Page 21: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/21.jpg)
21
RDT• Real Data Transport proprietary transport protocol for
audio/video• Developed by RealNetworks in 1990’s.• Tolerant to loss.• Works in companion with RTSP.• Uses ports: 16384 – 32767
![Page 22: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/22.jpg)
22
RTP
• Real-time Transport Protocol• Provides end-to-end delivery interactive audio/video over
the internet.• Can be used for VOIP applications: Skype, VoipCheap• 1996: RFC 1889 => 2003: RFC 3550• Does not have standard TCP or UDP port to communicate• UDP connections are done only via an 2n port.• 2n+1 port is used for RTCP communications.
![Page 23: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/23.jpg)
23
RTP Packet
Real-time Transport Protocol
![Page 24: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/24.jpg)
24
RTCP• Sister protocol of Real-time Transport Protocol (RTP)• Defined in RFC 3550• Partners with RTP in delivery of multimedia data• DOES NOT transport any data itself• Monitors participating packets in steaming multimedia session.
– Sends control packet to get feedback on QoS– Gathers stat info on: bytes sent, bytes received, lost packets, jitter,
roundtrip delay
• Types of RTCP:– Sender Report Packet– Receiver Report Packet– Source Description RTCP packet– Goodbye RTCP packet
• SRTCP (Secure) is used for encryption, authentication, and integrity
![Page 25: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/25.jpg)
25
RSVP• Transport Layer protocol designed to reserve resources across the
Internet
• Described in RFC 3936 (Oct 2004)
• Can be used by HOSTS or ROUTERS
• Delivers specific QoS for data streams
• RSVP is not a routing a protocol, but works with other routing procols.
• Notice: RSVP is rarely deployed by tele-com networks today
• Traffice Engineering RSVP (RSVP-TE) is available now.
• RSVP requests resources for simplex flows: a traffic stream in only one direction from sender to one or more receivers.
![Page 26: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/26.jpg)
26
Conclusion• Streaming is used widely everywhere• To stream a media you will need: camera, firewire, encoder, server,
and a high speed internet connection• Media Players: Adobe Flash Player, Windows Media Player.• How Streaming Audio & Video works.• Streaming Bit Rates differ: higher the bit rate the better quality.• The Protocols used:
– User Datagram Protocol (UDP)– Real-Time Streaming Protocol (RTSP)– Real Data Transport (RDT)– Real-time Transport Protocol (RTP)– Real-Time Transfer Control Protocol (RTCP)– Resource ReSerVation Protocol (RSVP)
![Page 27: How Streaming Media Works](https://reader034.vdocument.in/reader034/viewer/2022051116/56815854550346895dc5b11b/html5/thumbnails/27.jpg)
27
Reference
• www.google.com• www.microsoft.com• www.realnetworks.com• www.RealNetworks.com• www.ShoutCast.com• www.StreamCast.com• www.wikipedia.org