Feature #763
IPTV Bandwidth
0%
Description
At present if I set-up TVheadend to use more then one iptv service concurrently (Record/Play) they start no problem, but due to my bandwidth limitation they pixel/jitter then eventually stop. (bad if it's recording something I wanted) My 6Mb ADSL line is really only good enough for one UDP multicast from my ISP. So it would be a good feature if TVheadend users could have control over their bandwidth setting and thereby not start new iptv services if to much bandwidth will be consumed.
Solution Suggestion:-
Add a user defined "Max bandwidth" option the iptv set-up, to allow users to define their ISP bandwidth i.e. 3Mb -> Unlimited
Add a user defined "Stream bandwidth" to each iptv service set-up. i.e. 3Mb (~3Mb for SD stream)
As a new iptv service is request for recoding or playback, check the total "Consumed bandwidth" (Sum of "Stream bandwidth" from all other active iptv services) if it's greater then "Max bandwidth" return an error -: "Exceeds Bandwidth Quota" otherwise allow the service to start.
This should be a relatively simply way of controlling the number of iptv service running at a given time and allows flexibility for people with differing bandwidths and iptv stream types.
History
Updated by Phill Lavender about 13 years ago
Started hacking this together myself, so far i can at least test if more then one iptv_service is active. I'll push anything I get working that's useful and not hard coded,
Updated by Hein Rigolo about 13 years ago
Phil, i would suggest something like number or concurrent active services instead of something based on bandwidth. Bandwidth is hard to acuratly measure i think. What if some other service is using the same bandwith outside of tvheadend?
Updated by Phill Lavender about 13 years ago
First test is bascily that. It only allows one iptv service to be playing/recording. It's not pretty but it's working...ish. (No UI, Recordings/Streams don't abort and continue to re-attempt so continuous logging until stopped but it's a start) The issue with concurrent streams however is that some peolpe may have a mix of HD and SD streams, so they may be able to use, say 2 SD, but only 1 HD. My idea of a Bandwidth is really just a weighting scheme to allow this to be configured and deducted from a total. It's not really true Bandwidth usage.
You can have a look at my GitHub branch 'Bandwidth' if you want to see my work in progress. I'm not really a programmer but I need this feature so learning as I go.
Phill
Updated by Adam Sutton over 12 years ago
- Status changed from New to Rejected
- Target version deleted (
3.0)
Not sure if your still looking at this but I'm gonna close due to lack of updates. If your still interested let me know.