Author Topic: Video streaming network design.  (Read 434 times)

0 Members and 1 Guest are viewing this topic.

Offline nafuti

  • Serf
  • *
  • Posts: 43
  • Cookies: 11
    • View Profile
Video streaming network design.
« on: February 27, 2014, 01:14:06 am »
Ok guys, how is everyone? In my wonder recently, i happened to drop onto a thought as to how one could deploy a video streaming/sharing network, what to consider and how to make it work for users across the globe.
Shoot! ;)

Offline RedBullAddicted

  • VIP
  • Sir
  • *
  • Posts: 519
  • Cookies: 189
    • View Profile
Re: Video streaming network design.
« Reply #1 on: February 27, 2014, 06:36:48 am »
Not sure what exactly you want to hear. From a network perspective there are two ways to provide a video stream. One is unicast streaming and the other is multicast streaming.

  • Unicast protocols send a separate copy of the media stream from the server to each recipient. Unicast is the norm for most Internet connections, but does not scale well when many users want to view the same television program concurrently.
  • Multicast protocols were developed to reduce the server/network loads resulting from duplicate data streams that occur when many recipients receive unicast content streams independently. These protocols send a single stream from the source to a group of recipients. Depending on the network infrastructure and type, multicast transmission may or may not be feasible. One potential disadvantage of multicasting is the loss of video on demand functionality. Continuous streaming of radio or television material usually precludes the recipient's ability to control playback. However, this problem can be mitigated by elements such as caching servers, digital set-top boxes, and buffered media players.
Here is a nice little example about setting up multicast routing and such in a gns3 lab: http://vimeo.com/7271595

Guess that was not what you expected? lol
Cheers,
RBA
« Last Edit: February 27, 2014, 07:10:16 am by Kulverstukas »
Deep into that darkness peering, long I stood there, wondering, fearing, doubting, dreaming dreams no mortal ever dared to dream before. - Edgar Allan Poe

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: Video streaming network design.
« Reply #2 on: February 28, 2014, 07:17:04 am »

Contrary to what you might think, we are actually going to use http instead of UDP. You can either use plain HTTP or Dynamic Adaptive Streaming over HTTP (DASH).In this way, different versions of the videos (bit rate) can be distributed as per bandwith.A manifest file is provided for these video versions for the client to pick on.

Assuming you don't have a huge load of lawyers, so not much hould lead to you. If registration and/or payment is to be done, then you won't trust any one with your money so a server for this will be managed by you.

I suggest pay for cloud space, this is where your videos will be initially uploaded, formatted into multiple versions of both audio and video at multiple bit rates, and finally uploaded to your different CDNs(third party).

To reduce the load on a single server and many other factors, i suggest you employ third party Content Distribution Network (CDN)/s like Limelight, akamai and Level-3. These server clustersif brought near tier-1 and/or Access ISP provide for high-speed streaming of videos.

 But you could save yourself the trouble and set up a P2P video on demand network like PPTV, PPs, et-la.
« Last Edit: February 28, 2014, 07:17:55 am by kenjoe41 »
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]