Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Rate limiting streaming services recommendations
« previous
next »
Print
Pages: [
1
]
Author
Topic: Rate limiting streaming services recommendations (Read 615 times)
kbreit
Newbie
Posts: 7
Karma: 0
Rate limiting streaming services recommendations
«
on:
March 10, 2024, 07:58:26 pm »
I am interested in using rate limiting to lower the quality of streaming to certain devices from HD to SD.
First, is there any guidance on what download speed I should enforce to get it to SD but not degrade the performance outside of the HD->SD downstep? Second, I would want this to be time based. Is that possible without custom automation? Finally, is it possible to do this using layer 7 information instead of the layer 3/4 methods?
Thank you.
Logged
Seimus
Hero Member
Posts: 607
Karma: 59
Re: Rate limiting streaming services recommendations
«
Reply #1 on:
March 11, 2024, 10:56:55 am »
As far as I know we do not have a rate-limiter on OPNsense, we have a Shaper.
A. You cant rate limit, you can only limit BW
B. This can be done by IP, DSCP or TOS etc., but not by L7 information (OPN is a L3/L4 FW)
C. Current shaper features doesn't allow you to set shaper rules based on time in the GUI
First, is there any guidance on what download speed I should enforce to get it to SD but not degrade the performance outside of the HD->SD downstep?
I would say depends on the codec & application and the Throughput it uses during SD. Keep in mind if you shape a specific host for example with a specific port, if the user will not set the stream to SD and retain HD it will do a lot of buffering and stagger.
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Crucial 16G 4800 DDR5 | S 980 500G -
PROD
kbreit
Newbie
Posts: 7
Karma: 0
Re: Rate limiting streaming services recommendations
«
Reply #2 on:
March 11, 2024, 07:18:35 pm »
Great information. So to confirm, the streams normally won't downgrade from HD to SD when it needs to? It just chokes?
Logged
Seimus
Hero Member
Posts: 607
Karma: 59
Re: Rate limiting streaming services recommendations
«
Reply #3 on:
March 12, 2024, 10:44:10 am »
Lets for example take youtube as an application for video stream.
Youtube support several quality levels of stream such as:
4k
1440p
1080p
etc
Additionally it provides an auto mode.
If you restrict BW for Youtube, and lets say a user sets his video to be streamed at 1080p it will choke. If he will set it at auto, the quality of the stream will adjust accordingly.
Basically answer to your question is if the application streaming the video can use auto mode >
A. If it has auto, it should adjust
B. If it does not have auto, it will choke
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Crucial 16G 4800 DDR5 | S 980 500G -
PROD
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Rate limiting streaming services recommendations