Skip to main content
Known Participant
May 5, 2011
Question

h264 through rtmfp

  • May 5, 2011
  • 1 reply
  • 1742 views

We started broadcasting HQ video from our server via a multicast. Everything works fine if the number of viewer does not exceed about 600-700. But once the number starts to grow and reaches up to 1000 viewers - it become impossible to watch the stream because of the numerous loss of frames. The picture breaks up, there are decoding artifacts, etc.

Can you please tell me how to configure the server to deliver content to 1,5-2k users?

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    May 5, 2011

    Hi,

    Thanks for using RTMFP ...

    I would probably first look for more information to know whats the issue exactly is :

    1. I guess you are using application level multicasting (let us know if it is otherwise). For this case, since it is a pull mechanism for the clients to play the streams, ideally it should have 'helped' more with 1000 clients (the more the clients, the better the peering) than degrading the QOS.

    2. Did you try looking at the multicast stream QOS stats for the playback, perhaps some of those metrics can point to the problem

    3. There is nothing much to be configured on the FMS server for RTMFP, except that you may want to disable the queue in the application.xml (it improves the quality at a slight cost of latency)

    <Application>

                   

                    <!-- Live queuing and aggregate messages are turned off the multicast  -->

                    <!-- sample application to enhance the performance and flow of messages -->

                    <!-- delivered to multicast streams. Setting the queue to "true" can        -->

                    <!-- cause delay in the multicast playback.                                                            -->

                    <StreamManager>

                                    <Live>

                                                    <Queue enabled="false">

                                                                    <AggregateMessages enabled="false">

                                                                    </AggregateMessages>

                                                    </Queue>

                                    </Live>

                    </StreamManager>

                    <Client>

                                    <AggregateMessages enabled="false"></AggregateMessages>

                    </Client>

    Let us know if that helped.

    Thank you !

    Lokki7Author
    Known Participant
    May 5, 2011

    I was not expecting such a quick response, thank you for your help! =)

    1. Yes, I think it is application level multicasting =) I just started to learn the technology and do not know all the terms. I just copied main.asc from "samples/application/multicast".

    2. Where can I find such an information? I watched NetGroup.info and player's debug console but I do not know what to do with this information. The buffer is never emptied, the number of neighbors around 30-50.

    Tomorrow I plan to hold another test. On what information is worth paying attention to? What kind of feedback can I ask users who have problems?

    3. I disabled AggregateMessages for now. Tomorrow I can check the result.

    Thanks once again! =)

    Nikhil_Kalyan
    Participating Frequently
    May 5, 2011

    Hi,

    Thanks for the confirmation

    This is the class that i wanted you to take a look at : http://help.adobe.com/en_US/flashmediaserver/ssaslr/WS486834a3d4bc74a474746dec126f44e8016-7fdb.html

    all the multicast related stats can be obtained and accordingly you can change your environment.