Help me about video streaming

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
Cornholio
Posts: 27
Joined: Thu Aug 17, 2017 9:52 pm

Help me about video streaming

Post by Cornholio »

How would I know the value for maximum or minimum packet length for video streaming? :D

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: Help me about video streaming

Post by d3fz »

Not sure i understand your question. What are you trying to do ?

Is this related to your previous post ?
Cornholio wrote: I need help on limiting any video streaming to a specific wireless client.

Looks like Layer 7 proto for HTTP AUDIO and VIDEO doesn't work as I've tried it on my computer.
Layer 7 Protocol is currently broken, don't use it. It will very likely put your router into a bootloop.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

Cornholio
Posts: 27
Joined: Thu Aug 17, 2017 9:52 pm

Re: Help me about video streaming

Post by Cornholio »

@d3fz

I am trying to throttle specific devices if they're going to watch some video streams and I'm wondering if I will be able to do that by using Minimum or Maximum packet lengths for video streaming. It's like I'm limiting them to just web browsing only.

encro
Posts: 76
Joined: Fri Mar 13, 2015 10:52 am
Location: au.victoria

Re: Help me about video streaming

Post by encro »

You could manage it with a separate QoS channel dedicated to streaming. I used to do this with 2 Chromecast and a Boxee Box by limiting the max bandwidth to 2500 kbps with would force the stream sent to be 720p.

You would need to specify IP ranges in CIDR format for the common sites such as YouTube and Netflix but it's hard to create a catch-all throttling rule for Streaming and not so easy to do devices like phones where you don't want to restrict bandwidth for everything.

Apps and websites generally have settings for choosing the bandwidth also if it's not set to Automatic.

YouTube Bitrates
240p 360p 480p 720p 1080p
Resolution 426 x 240 640 x 360 854x480 1280x720 1920x1080
Video Bitrates Maximum 700 Kbps 1000 Kbps 2000 Kbps 4000 Kbps 6000 Kbps
Recommended 400 Kbps 750 Kbps 1000 Kbps 2500 Kbps 4500 Kbps
Minimum 300 Kbps 400 Kbps 500 Kbps 1500 Kbps 3000 Kbps
http://stackoverflow.com/questions/2419 ... p-1080p-in

Netflix is similar Bitrates:
https://help.netflix.com/en/node/306
Netgear WNDR3700v4 (N600) - Gargoyle 1.14.x
D-Link DIR-835 - Gargoyle 1.7.1 (Deceased)
Manual set up for PIA's OpenVPN in (Private Internet Access): https://www.gargoyle-router.com/phpbb/viewtopic.php?f=11&t=9129&p=45410#p45410

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: Help me about video streaming

Post by d3fz »

Cornholio wrote:I am trying to throttle specific devices if they're going to watch some video streams and I'm wondering if I will be able to do that by using Minimum or Maximum packet lengths for video streaming.
Video streaming is just like any regular download, so download/upload speeds will also be affected. The devices will be throttled no matter what kind of traffic is going through.
It's like I'm limiting them to just web browsing only.
If you just want to throttle specific devices for "browsing only" capabilities, you can easily do that using Quotas + QoS Classes.

1) Go to Firewall > QoS (Download).
2) Create a new service class called "Throttle", for example.
Set "Percent Bandwidth At Capacity:" to 1%.
Set "Bandwidth Maximum:" to 300kbps (or any other value, according to your needs). Note: remember that we're working with kbps, so 300kbps = 37.5 kB/s.

If you need to throttle upload speed as well, the above also applies.

3) Now go to Firewall > Quotas.
4) Create new quota based on the image below.
Image

Where "Applies to" should be set to "Only the following Host(s)", and you can add whatever device(s) IP you want to throttle.

Under "Throttle Bandwidth", Upload/Download limit classes should be set to "Throttle".

And that's it.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

Cornholio
Posts: 27
Joined: Thu Aug 17, 2017 9:52 pm

Re: Help me about video streaming

Post by Cornholio »

Thanks mate! Will check all of these. :D

Post Reply