Traffic Shaper with IPTV

Started by scream, December 17, 2020, 01:00:21 PM

Previous topic - Next topic
Hi all

I'm running opnsense for a long time now and I'm really happy with it.

I began using traffic shaper as I use IPTV (multicast) and sometimes a big download is running in parallel so I want to make sure that other stuff is working propper.

- IPTV (multicast udp stream)
- VOIP
- Office VPN
- DNS etc.

So I've created two Pipes. One for Up and another one for down. (UP = 37M / DOWN = 105M)
I created four queues:

DefaultUp: weight 5
DefaultDown: weight 5
PrioUp: weight 90
PrioDown: weight 90

So in theory all traffic which matches a rule with PrioUp/PrioDown queue will get much more slots in the queue than DefaultUp/DefaultDown.

The problem I now have is that after every channel swich on the iptv the first 5-10 seconds I will see a lot of fragments in the TV stream. This only occours when a heave Download is running at the same time and only for the first 5-10 seconds after the channel was changed. After that the stream is working without any issues.

So basicly I think the problem is the time it takes until the new multicast traffic gets sotret into the queue. So I've to wait until the shaper detects the prio-traffic and have his job done or something like this.

When I create a new Pipe which reserve the traffic for the IPTV stream this doesn't help so I think it is a issue with the buffers which are already "filled up" and I've to wait until the buffer is cleared.

Anyway... reserved isn't really what I want to achive as this bandwidth is lost when nobody is watching tv.

I read the documentation but I didn't found a answer to my issue :(

Any advice how to solve this?