| View previous topic :: View next topic |
| Author |
Message |
cmodyssey
Joined: 28 Mar 2008 Posts: 63
|
Posted: Mon Jul 23, 2012 6:46 am Post subject: Slow Source |
|
|
Hi,
Is there a way of getting information about if a source is slow on the /admin page or any page in fact?
I notice that the /admin page shows the number of slow listeners, but I can't find anywhere about slow sources.
Please could someone let me know if this it possible or not.
Thanks,
Richard. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jul 23, 2012 2:01 pm Post subject: |
|
|
If you mean a global count of sources that timed out then there isn't one, one could be added without much trouble if it is useful. Any per-source tally will be useless as that would disappear on exit. The kh tree does have an incoming_bitrate stat for each source, that could be useful for checking whether the stream is at the expected rate.
karl. |
|
| Back to top |
|
 |
cmodyssey
Joined: 28 Mar 2008 Posts: 63
|
Posted: Mon Jul 23, 2012 5:53 pm Post subject: |
|
|
Hi Karl,
Thanks for getting back to me.
I suppose what I am looking for is a flag, let's call it the "slow flag" for example. This flag's default value is to be unset and that as soon as a source is slow, the flag gets set. If the source then gets back to speed, leave the flag set.
The way we use icecast, is that a source will be connected on average for 2 hours. Once a source disconnects and a new source connects, the "slow flag" would reset, because the source has not had a chance of going slow.
I'm imagining this flag to be on a per mount point basis.
Does that make sense?
Thanks,
Richard. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jul 24, 2012 9:06 pm Post subject: |
|
|
I understand what you mean but does not seem that useful. Any significant stall would be trapped by the timeout and a termination, a lower than expected bitrate is subject to parsing the correct details which can be difficult.
karl. |
|
| Back to top |
|
 |
|