8/7/2019 Streaming Server
1/20
8/7/2019 Streaming Server
2/20
Our sincere thanks to HOD Prof. O.P. Verma, IT Department
for bestowing upon us this learning oppurtunity. It was a greatworking experience with constant monitoring and support from
our mentor Mr. Rahul Katariya. We believe this project will
help us in long careers ahead in life.
8/7/2019 Streaming Server
3/20
To develop a framework for deploying real time unbuffered streaming ofmultimedia over a network using Darwin Streaming Server.
Key focus is also on various security issues relating to sharing of multimedia files. To implement an On-Demand Media Streaming Server using latest techniques on
the Darwin Programming Interface employing the features:
Reduced latency Scalability
To do the performance analysis of server/client. To protect the media from unauthorized production of videos.
Deployment Areas: distance learning courses. Video Lectures and seminar delivery corporate communications to employees, customers, suppliers, or shareholders. one-time concert or presentation .
8/7/2019 Streaming Server
4/20
What is Streaming?
Displaying media from a server over a network to a client in real time, from modemrates to broadband.
No file is ever downloaded to a viewers hard drive. Media is played by the client software as it is delivered.
request
response
With Streaming you can deliver* broadcasts of live events in real time.
* video on demand.* playlist broadcasts of pre recorded content.
The streaming server transmits video and audio streams uses client software such as QuickTime Player. Handles request using Real-Time Streaming Protocol (RTSP).
CLIENT SERVER
8/7/2019 Streaming Server
5/20
Examples streaming video, IP telephony, teleconferencing, interactive games.
Service requirements:
Highly sensitive to end-to-end delay
Jitter sensitive Loss tolerant
Audio/Video streaming : popular application and significant consumer of network
bandwidth.
Key Factors: Improvement in Internet infrastructure: cable modem, caching and content
delivery networks (CDNs).
Enormous pent-up demand for live videos or on demand streaming.
Streaming of highly secured videos which may not allow duplication.
8/7/2019 Streaming Server
6/20
Key Features:
Stored Media: prerecorded and stored at server, user may pause, rewind or
fast-forward.
Streaming: begins playout while receiving no entire file download.
Continuous playout: progress according to original timing of recording.
Limitations:
Packet Loss
End-to-end delay
Packet jitter Delayed playback (Buffered first)
8/7/2019 Streaming Server
7/20
Flash Media Server is used most commonly. It uses RTMP. It supports Buffered Video streaming.
Technology: Embed the shockwave file(.swf) in your web page. All you need is Flash plugin to run the media at client side.
Used by YouTube, Adobe, Live sports telecast etc.
Advantages: Helps in multiple viewing of same media. Supports caching. Easy to integrate. Supported by all web browsers. Flexible over all kinds of networks, since the media is first downloaded and then
displayed.
Disadvantages: Flash media is costly to deliver. High compression cost involved. Client can reproduce its own copies of media and sell or forge with it. Frustrating since you have to wait for the media while buffering.
8/7/2019 Streaming Server
8/20
Studied the architecture of the DSS and figured out how we can use itsProgramming Interface to implement Patching.
Patching Module: Requirements
RAM Required: greater than 512 MB
Platform : Linux/Windows Server2003
Streaming Technique : Patching
Programming Interface : Darwin Streaming Server
Front End: XML
BackEnd Language : C++
Specifications
High speed LAN (depending upon no: of users)
Media Player- VLC, Quick Time, Real etc.
8/7/2019 Streaming Server
9/20
Streaming
Buffered Unbuffered
Progressive download(Buffered Streamingeg You-Tube) that allows the user to startviewing the movie once a sufficient amount of video data has been received or
buffered, and then while the movie plays, the rest of the data is downloaded.
Issues with Buffered Media: large portions of hard disk space or recordable CDs to store it is required. pirate copies can be developed or file sharing applications can be used to make the
film illegally available to others.
Advantages of Darwin Server: movie data is not stored locally. data is only kept in the computer memory for processing and once content has been
displayed it is discarded. movie data streamed is synchronised.
8/7/2019 Streaming Server
10/20
downloaddela s are re oved, arddis s ace to store ovie data is not re ired.
t e strea can e ter inated anyti e.
erver sends data till it is strea ed. Efficient where networ char e is on sa e.
ower alityvideo can e strea ed for low andwidth connection.
o iracyof enuine copy andhelps in authorizedviewing.
upports othunicast and ulticast upports followingprotocols:
over
over
Hur les:
irregular trans issiondelays i.e. jitter, and loss ofpackets from the streamcan resultin impairedvideo uality at the client.
huge networkingconstraints are to e kept inmind.
deployed according to the topological distri utionofcomputer terminals.
ocachingofmedia.
8/7/2019 Streaming Server
11/20
Darwin Streaming Server
Unbuffered
Windows, Linux,
MacOs, Solaris
QTSS, MP4, AVI, WMV
RTSP, RTP, RTCP
Any Player- VLC,QTP,Real time player etc.
Flash Media Server
Progressive/Buffered
Windows, Linux
FLV, MP4
RTMP
Flash Player
Services
Streaming
Operating System
Support
Format support
Protocol Support
Player Support
8/7/2019 Streaming Server
12/20
8/7/2019 Streaming Server
13/20
Using a CAT-5 cable(100 Mbps LAN)
An average Video delivered at 1000kbps (approx.) over 100Mbps connection for the
Local LAN would suffice the requirement for
100Mbps/1000kbps= 100 clients
but experimental results have shown loss due to high jitter decreasing clients over
the network.
Using a CAT-6 cable(1 Gbps LAN)
The LAN is used rarely but could support even higher no of clients.
The Wi-Fi Network working over 56Kbps does not perform well, due to very high
jitter in the network. Thus failed to deliver stream.
Further use of CAT-7 cable would increase the bandwidth consumption to 10Gbps.
8/7/2019 Streaming Server
14/20
8/7/2019 Streaming Server
15/20
Sample effects ofvideo streaming errors. he images show a video se uence
unimpaired (left), with loss (middle) andwithpacket reordering.
8/7/2019 Streaming Server
16/20
When the packet is delivered after its streaming time there is a loss of packet. Buffered
media maintains a lag from streaming server so as to avoid jitter.
8/7/2019 Streaming Server
17/20
8/7/2019 Streaming Server
18/20
A stream delivered at 1000kbps. Jitter is better in
Multicast Network than in Unicast.
8/7/2019 Streaming Server
19/20
ATM could be used to deliver media.
ATM is a cell based switching technique it is very much suitable for Real Time
Media Transport.
Can be deployed over LAN as well as WAN.
ATM uses SONET backbone of ISDN.
SONET transfers multiple digital bit streams over optical fibre so high end speed
could be obtained.
We can use Darwins security features and ATMs high speed switching technology
to cope with the ever increasing demands.
Drawbacks:
Technology has been limited.
Very costly as of present scenario.
No Hardware and Software compatibility.
8/7/2019 Streaming Server
20/20
Anirban Mahanti, Derek Eager, Mary Vernon, and David Sundaram-Stukel,"Scalable On-demand Media StreamingwithPacket Loss Recovery", IEEE/ACMTransactions on Networking, Vol. 11, No. 2,April 2003,pp. 195-209.
K.A. Hua, Y. Cai, and S. Sheu, Patching:A Multicast Technique forTrue Video-On-Demand Services,Proc.ACM Multimedia 98, Bristol, U.K., Sept. 1998.
D. L. Eager, M. K. Vernon, and J. Zahorjan, Bandwidth Skimming:A Technique forCost-Effective Vide o-on-Demand,Proc. MMCN 00, San Jose, CA, Jan. 2000.
ComputerNetworking,A Top-DownApproach Featuringthe Internet, James F.Kurose; Keith W. Ross
Quick Time StreamingServer:Administrators Guide QuickTime StreamingServerModulesProgrammingGuide http://developer.apple.com/opensource/server/streaming/index.html http://wiki.gandi.net/en/hosting/usinglinux/tutorials/fedora/darwinstreaming http://lists.apple.com/mailman/listinfo/streaming-server-dev.