Skip to main content
Participant
March 23, 2010
Question

Streaming from Live Encoder to Server - Bandwidth

  • March 23, 2010
  • 3 replies
  • 1451 views

I really hope this makes sense!

What we are currently doing:

We have an on-site box that's taking a video feed from a webcam, and encoding with Flash Media Encoder. It's currently sending the stream to Flash Media Server on the same machine to serve the stream (rtmp://localhost).

What I want to do:

The on-site machine doesnt have very much upstream bandwidth to spare, so I would like to stream from an off-site dedicated machine with better upstream. So in other words:

On-Site machine (with Flash Media Encoder) ---> Send to off-site dedicated box (to Flash Media Server)

Here's an example that demonstrates my question:

Let's say that I already have my on-site computer and off-site dedicated server set up. The dedicated server is serving the flash stream to the website. In this example, 10 end users are all trying to watch the stream at once. Each stream is 200 Kbps, so the total bandwidth demand on the dedicated machine is 2000 Kbps (or 2 Mbps). Is the dedicated machine going to be able to serve those ten streams with the on-site computer (running Flash Media Encoder) only sending ONE 200 Kbps STREAM TO THE DEDICATED SERVER?

I guess Im wondering if Adobe Media Server can essentially take one stream (from our computer here) and send as many copies as needed from where it is?

So it would look like:

1. On-site computer sends 200 Kbps stream

2. Off-site server receives single 200 Kbps stream, serves multiple copies of that stream to multiple end-users, while still only needing single 200 Kbps stream from on-site source computer

    This topic has been closed for replies.

    3 replies

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    March 29, 2010

    Hi,

    So you have an on-site server which is a FMS set in origin mode setup along with your

    FME. Your FME publishes the stream to your on-site sever. Now you really cannot server

    all the clients with this stream becuase of upstream bandwidth issue.

    I can propose you with two sollutions for this.

    Solution 1:
    Your off-site machine can still be in Origin mode and serve your clients very well using

    MultiPoint Publish method. You can have a server side logic at on-site server which will

    send the stream to the off-site server. So the upstream bandwidth in your on-site server

    is 1 * 200 kbps. This received stream at the off-site server can be served for all the

    clients connected to the off-site server. This link can help you to understand and setup multipoint publish - http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7ffb.html

    Solution 2:
    Your off-site machine can be configured to Edge mode, i.e., proxy mode. For the live stream that the clients are subscribing to the off-site edge server. Even here the upstream bandwidth in your on-site server will be 1 * 200 kbps for the live stream. http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00000128.html - will help you how to configure edge server. http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00000128.html - has details about edge server.

    Let me know if you need any more info.

    Regards,
    Janaki L

    Participant
    March 27, 2010

    Does it possible to setup the off-site machine in the post with the free developer ediiton of Flash Media Server?

    crizkeethAuthor
    Participant
    March 27, 2010

    Yes, sure it would be possible.

    Im not certain what that has to do with the original question, however.

    Any other input?

    Adobe Employee
    March 23, 2010

    Yep, it makes sense.

    Live streaming works this way with one publisher pushing stream to Media Server and multiple subscribers playing the same stream from the server.