Skip to main content
Participant
March 28, 2008
Question

Live streams keeping alive

  • March 28, 2008
  • 2 replies
  • 254 views
Hello, I'm using HTTP Administration API to poll for a list of live streams and their status (getLiveStreams, getLiveStreamStats). I'm doing it quite often (5-10 seconds), this is part of server backend infrastructure. The problem is that it seems to prevent live streams from terminations. I see lots of live stream with empty <subscribers> list. When I stop polling and pause for a minute or so, they disappear.

Any suggestions how to get relevant list of live streams and their stats in a better way? How to fix existing solution, so it doesn't prevent live streams from termination (I guess it consumes extra system resources)? Any config parameter?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Participating Frequently
    April 2, 2008
    You can write an application in Server Side ActionScript and post this to Database or with XML.
    This can run in the loop in some intervals. You can have one central FMS server Application as a stats collector. This should be quite efficient.

    I haven't noticed any issue like you have described. Check log files who is accessing the streams, maybe somebody is publishing to your server and you don't even know about it.
    AlexeyTAuthor
    Participant
    April 2, 2008
    Hello, thanks for response!
    quote:


    You can write an application in Server Side ActionScript and post this to Database or with XML.


    What is the best/common way to access external DB from SS Action Script?
    quote:


    This can run in the loop in some intervals. You can have one central FMS server Application as a stats collector. This should be quite efficient.

    I haven't noticed any issue like you have described. Check log files who is accessing the streams, maybe somebody is publishing to your server and you don't even know about it.

    No, I checked log files very carefully. And server is running in controlled environment.