Skip to main content
Participant
June 2, 2010
Question

Bandwidth different from default main.asc and my main.asc

  • June 2, 2010
  • 1 reply
  • 529 views

Hello,
I have a problem with a FMS application and his bandwidth. The problem is that if I playing a in an application without main.asc, the video plays perfectly with the maximum available bandwidth (17000 kbps). If I put a main.asc, even a empty file, I play the same video to 100kbps at most. Inside the folder I have a application.xml. Could it be that if there isn't a main.asc file, the application.xml is the default and that is not involved? Is there a parameter that controls the bandwidth of the stream in the application.xml or main.asc?
My Application.xml is this:
<Application>
        <StreamManager>
                <VirtualDirectory>
                        <Streams>/;${VOD_COMMON_DIR}</Streams>
                        <Streams>/;${VOD_DIR}</Streams>
                </VirtualDirectory>
        </StreamManager>
        <Client>
                <Bandwidth>
                        <!-- Specified in bytes/sec -->
                        <ServerToClient>2500000</ServerToClient>
                        <!-- Specified in bytes/sec -->
                        <ClientToServer>2500000</ClientToServer>
                </Bandwidth>
                <MsgQueue>
                        <Live>
                                <MaxAudioLatency>2000</MaxAudioLatency>
                                <MinBufferTime>2000</MinBufferTime>
                        </Live>
                        <Recorded>
                                <MinBufferTime>2000</MinBufferTime>
                        </Recorded>
                        <Server>
                                <BufferRatio>0.5</BufferRatio>
                        </Server>
                </MsgQueue>
        </Client>
</Application>
I need to declare a virtualDirectory  of my streams.
Regards,
David

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 4, 2010

    Presence of main.asc does not affect bandwidth in anyway , atleast blank main.asc. It would affect only if you use setBandwidthLimit() function in main.asc.

    Application.xml , the one which you have would affect bandwidth in sense that it will limit client to server and back to 2500000 bytes/sec.

    Also i would like to know how are you concluding that video is using 17000kbps or 100kbps?