Jump to content

Cumulative/Total max internet streaming Limit


Recommended Posts

Posted

Hi,

 

I tried to search for my Problem in this Forum, but i couldn´t find anything that would have helped me.

 

I need to Limit the Upload Speed the Emby Server is getting.

 

The Problem is, my Upload speed i get from my ISP is only 20 Mbit. I know there is a setting to limit the bitrate of the Streams. 

I tried to set the limit to 15 Mbit, but this only sets the limit for the stream bitrate. When I try to play a game it still is lagging, because Emby doesnt send constant 15 Mbit over the Network. It is idling some time and then sending at full 20 Mbit.

 

I tried to use my QoS Settings in my Router. It helps when someone is Downloading (because of the constant upload speed) but it doesnt work when a stream is running.

 

Is there any way to tell Emby to just use 15 Mbit of my Internet Connection? 

 

Thanks in Advance and sorry for my bad english 

Happy2Play
Posted

Currently there is no global speed limit, only per stream limits.

 

Dashboard-Users-select user

 

and

 

Dashboard-Playback-Streaming

An optional per-stream bitrate limit for all out of network devices. This is useful to prevent devices from requesting a higher bitrate than your internet connection can handle. This may result in increased CPU load on your server in order to transcode videos on the fly to a lower bitrate.
mastrmind11
Posted (edited)

WHat about Dashboard-Playback-Streaming?  That's a global setting as far as I understand.

 

edit:  nevermind, I just re-read the description.  Delete my post(s)

Edited by mastrmind11
Happy2Play
Posted

WHat about Dashboard-Playback-Streaming?  That's a global setting as far as I understand.

 

Still per device/stream.  I will have to look for @@Luke's quote on this.

Posted

Thanks for your Help. These are the Settings i already tried. 

 

Maybe someone knows a way to limit Upload Bandwith for services on an ubuntu machine (I know its not the Linux Forum, but maybe someone has an idea)

mastrmind11
Posted (edited)

Thanks for your Help. These are the Settings i already tried. 

 

Maybe someone knows a way to limit Upload Bandwith for services on an ubuntu machine (I know its not the Linux Forum, but maybe someone has an idea)

https://github.com/magnific0/wondershaper

 

further reading:  https://askubuntu.com/questions/776/how-i-can-limit-download-upload-bandwidth

Edited by mastrmind11
Posted

Thank you. I already tried trickle. This didnt really work.

 

But I´ll give wondershaper a try. It sounds promising as a temporary solution. But cutting of the complete Bandwith of my Server isn´t what i wanted. But its the best compromise at the moment.

 

Thanks for your help.

JeremyFr79
Posted

What you are seeing is completely normal.  It sends "chunks" at a time to clients hence why you see it use all bandwidth and then none.  This is how every video provider works.  Don't believe me watch a video from something like netflix and then monitor your download real-time and you'll see it does the exact same thing.

  • 3 months later...
Posted

OP, not sure if you've managed to find a solution but I use a program called NetLimiter to control upload bandwidth emby uses. Might be worth looking into.

  • 2 years later...
Painkiller88
Posted

Since this is from 2017 is there now a global upload limiter? I can't find it, maybe i missed a thing.

Thanks

Posted
1 hour ago, Painkiller8818 said:

Since this is from 2017 is there now a global upload limiter? I can't find it, maybe i missed a thing.

Thanks

Do you mean this setting on the Network menu?

 

limit.png

Painkiller88
Posted
2 minutes ago, cayars said:

Do you mean this setting on the Network menu?

 

limit.png

Yeah not exactly because this is just the per stream limit, i am looking for a global maximum upload limit for all users.

EG: if i have 50MBit up i want to limit to 45MBit for all users

Posted

Got ya, like a MAX GLOBAL BANDWIDTH AVAILABLE type setting.

Nothing like that available that I'm aware of.  I'm not sure how that would work.  If you're first user starts playing something via Direct Play and uses 30Mbit then you'd have 15Mb left for all other users.  With the above setting you could set it to 10Mbit for example and likely be able to serve up 5 or more clients with each getting decent bandwidth.

Painkiller88
Posted (edited)

Yeah i think it will be like that, on my plex i have a setting for the max global upload so i can make sure to reserve a few MBit for my webserver :)

Edited by Painkiller8818
Posted

Plex handles this differently and can "auto tune" each stream to reduce or increase the bitrate.  However what that means is that it must TRANSCODE everything so that it can make these adjustments which causes lots of it's own issues and I'm glad Emby hasn't gone that route.

I'd hate to have all my remote streams transcoded on the off case I get low on "upload" bandwidth. yuck

Posted

Hi.  So when you say "upload" you mean the bandwidth used by your server to send content out to remote clients?

Posted

Yes

Painkiller88
Posted (edited)
1 hour ago, cayars said:

Plex handles this differently and can "auto tune" each stream to reduce or increase the bitrate.  However what that means is that it must TRANSCODE everything so that it can make these adjustments which causes lots of it's own issues and I'm glad Emby hasn't gone that route.

I'd hate to have all my remote streams transcoded on the off case I get low on "upload" bandwidth. yuck

I never have transoding if a device can play all formats and the stream fits into my per stream max bandwidth.

But i also never reached my max upload so maybe it starts to transcode the user if there is not enough bandwith or it needs more i would allow as a maximum for all upstreams

EDIT: I tried this now with my browser and a lot of tabs, so the last Stream which can't get its full bandwith because of the overall limit is transcoded to a 4MBit 720p

All others are direct play

Edited by Painkiller8818
Posted

It also requires a setting on the client which I forgot to mention to use the adaptive bitrate changing to fit the pipe.  Without that setting you just won't get any bandwidth when the server is at it's limit.  But when you use that adaptive rate option, it runs everything though the transcoder since ffmpeg is what can adjust the bitrate on the fly.  This is done even for media that would have direct played otherwise.

It's a bit confusing. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...