Skip to main content
March 20, 2011
Question

How to Limit Bitrate for FMS Clients who are live Broadcasting

  • March 20, 2011
  • 1 reply
  • 1016 views

Hi,

I am running a website similar to Ustream and Justin and i am using Linux dedicated server, that have FMS 3.5 Installed.

On My site registered broadcasters can stream their live video.

I want to know how can i limit the broadcasters so that they cannot broadcast a live video more then 512bitrate in their encoder.

Please help, as currently any broadcaster can broadcast a live  channel at any bitrate he wants and that is consuming too much of my  server's bandwidth.

    This topic has been closed for replies.

    1 reply

    March 21, 2011

    Hi,

    I have read about BandwidthCap and for testing i put 100KBPS bitrate for both client to server and server to client. But still i was abl to stream at 300KBPS and was able to view the video on the site.

    And Client.setBandwidthLimit() seems client side script, but as broadcasters are using Flash Media Encoder, so it wont be possible to set this script for them at client level.

    I want something to be set on Server Side to restrict the bitrate.

    A Step by Step process will be good for me.

    Regards

    Umair

    Participating Frequently
    March 21, 2011

    I have read about BandwidthCap and for testing i put 100KBPS bitrate for both client to server and server to client. But still i was abl to stream at 300KBPS and was able to view the video on the site. -

         If this true - this might be a bug - but concluding anything - i would like to ask basic question - did you restart the server - after you made changes?

    Client.setBandwidthLimit() seems client side script

         No its not - its server-side scripting. Client.setBandwidthLimit() is server-side API - so do onething, have server-side code which limits any client's bandwidth to say 100kbps and then try to publishing using FMLE  using higher value.