[jitsi-users] Limiting bandwidth in jitsi-meet


#1

Dear All,

I apologize if this has already been asked - I tried searching and did not
found anything definite. Is there a way to limit the bandwidth used by
jitsi-meet application either on jitsi-meet or jvb side?

Thanks so much in advance!

···

--
  Best regards,
    Michael Pliskin


#2

You can always use a traffic shaper. Apart from that, you can set the
default resolution in Jitsi Meet to a lower level, but you'll never
how much bandwidth you'll use, because more peers lead to more
bandwidth.

···

On Tue, 8 Mar 2016 23:16:47 -0800 Michael Pliskin wrote:

I apologize if this has already been asked - I tried searching and did
not found anything definite. Is there a way to limit the bandwidth
used by jitsi-meet application either on jitsi-meet or jvb side?

--

Yasen Pramatarov
Lindeas Ltd. https://lindeas.com
'working on GNU/Linux ideas'
Professional Jitsi Meet services


#3

I would use Trickle!
https://wiki.archlinux.org/index.php/Trickle
By

···

On Wed, Mar 9, 2016 at 8:16 AM, Michael Pliskin <michael.pliskin@gmail.com> wrote:

Dear All,

I apologize if this has already been asked - I tried searching and did not
found anything definite. Is there a way to limit the bandwidth used by
jitsi-meet application either on jitsi-meet or jvb side?

Thanks so much in advance!

--
  Best regards,
    Michael Pliskin

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--

[image: Andrea Magatti on about.me]

Andrea Magatti
about.me/amagatti
  <http://about.me/amagatti>


#4

Hi Yasen,
Can the resolution be set in the actual web interface by any user for
his/her upload?
Or only on the server side?
Thanks

···

On Wed, Mar 9, 2016 at 9:42 PM, Yasen Pramatarov <yasen@lindeas.com> wrote:

On Tue, 8 Mar 2016 23:16:47 -0800 Michael Pliskin wrote:

I apologize if this has already been asked - I tried searching and did
not found anything definite. Is there a way to limit the bandwidth
used by jitsi-meet application either on jitsi-meet or jvb side?

You can always use a traffic shaper. Apart from that, you can set the
default resolution in Jitsi Meet to a lower level, but you'll never
how much bandwidth you'll use, because more peers lead to more
bandwidth.

--
> Yasen Pramatarov
> Lindeas Ltd. https://lindeas.com
> 'working on GNU/Linux ideas'
> Professional Jitsi Meet services

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Yasen,

thanks for the reply, do you have any examples of using traffic shaper with
jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc - or it can
be done on prosody level using mod_limits? What I need is to limit the
per-client-host download rate..

Thanks,
  Michael

···

2016-03-09 0:42 GMT-08:00 Yasen Pramatarov <yasen@lindeas.com>:

On Tue, 8 Mar 2016 23:16:47 -0800 Michael Pliskin wrote:

>I apologize if this has already been asked - I tried searching and did
>not found anything definite. Is there a way to limit the bandwidth
>used by jitsi-meet application either on jitsi-meet or jvb side?

You can always use a traffic shaper. Apart from that, you can set the
default resolution in Jitsi Meet to a lower level, but you'll never
how much bandwidth you'll use, because more peers lead to more
bandwidth.

--
> Yasen Pramatarov
> Lindeas Ltd. https://lindeas.com
> 'working on GNU/Linux ideas'
> Professional Jitsi Meet services

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
  Best regards,
    Mike


#6

thanks for the reply, do you have any examples of using traffic shaper
with jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc -
or it can be done on prosody level using mod_limits?

Linux traffic shaper and tc would be the way to go -- you don't need to limit the XMPP server, as most of the traffic won't be coming from it directly, but from the videobridge.

What I need is to limit the per-client-host download rate..

With a shaper you could distinguish the clients by their IP addresses for example. with some more complex script maybe you could get the username from Prosody also, and filter them by their usernames, but I'm not sure that won't be an overhead. Anyway, just a thought.

···

-----Original Message-----
From: users [mailto:users-bounces@jitsi.org] On Behalf Of Yasen Pramatarov
Sent: woensdag 16 maart 2016 10:09
To: users@jitsi.org
Subject: Re: [jitsi-users] Limiting bandwidth in jitsi-meet
On Tue, 15 Mar 2016 19:31:09 -0700 Michael Pliskin wrote:

==============

Remember that with TC, you can influence your outgoing data-stream; not the incoming....

______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het electronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.


#7

No, not possible through the webapp itself. The setting is for the
platform, not per user.

···

On Wed, 9 Mar 2016 22:03:03 +1300 rsnewsbox wrote:

Can the resolution be set in the actual web interface by any user for
his/her upload?

--

Yasen Pramatarov
Lindeas Ltd. https://lindeas.com
'working on GNU/Linux ideas'
Professional Jitsi Meet services


#8

thanks for the reply, do you have any examples of using traffic shaper
with jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc -
or it can be done on prosody level using mod_limits?

Linux traffic shaper and tc would be the way to go -- you don't need
to limit the XMPP server, as most of the traffic won't be coming from
it directly, but from the videobridge.

What I need is to limit the per-client-host download rate..

With a shaper you could distinguish the clients by their IP addresses
for example. with some more complex script maybe you could get the
username from Prosody also, and filter them by their usernames, but
I'm not sure that won't be an overhead. Anyway, just a thought.

···

On Tue, 15 Mar 2016 19:31:09 -0700 Michael Pliskin wrote:

--

Yasen Pramatarov
Lindeas Ltd. https://lindeas.com
'working on GNU/Linux ideas'
Professional Jitsi Meet services


#9

This is not true, you can drop/slow down incoming packet with TC
(but it's useless if your flow as no congestion control algorithm)

I've done some experiments with mixed results:
http://lists.jitsi.org/pipermail/dev/2016-January/026472.html

In the end for now i've an ugly patch to add x-google-max-bitrate in the SDP
(chrome only but it's ok for us for now)

···

2016-03-16 10:44 GMT+01:00 <J.Witvliet@mindef.nl>:

-----Original Message-----
From: users [mailto:users-bounces@jitsi.org] On Behalf Of Yasen Pramatarov
Sent: woensdag 16 maart 2016 10:09
To: users@jitsi.org
Subject: Re: [jitsi-users] Limiting bandwidth in jitsi-meet

On Tue, 15 Mar 2016 19:31:09 -0700 Michael Pliskin wrote:

>thanks for the reply, do you have any examples of using traffic shaper
>with jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc -
>or it can be done on prosody level using mod_limits?

Linux traffic shaper and tc would be the way to go -- you don't need to
limit the XMPP server, as most of the traffic won't be coming from it
directly, but from the videobridge.

>What I need is to limit the per-client-host download rate..

With a shaper you could distinguish the clients by their IP addresses
for example. with some more complex script maybe you could get the
username from Prosody also, and filter them by their usernames, but I'm
not sure that won't be an overhead. Anyway, just a thought.

Remember that with TC, you can influence your outgoing data-stream; not
the incoming....


#10

Etienne,

thanks for the reply, would you mind sharing your patch? Is it for jitsi or
jvb?

Michael

···

2016-03-16 3:27 GMT-07:00 Etienne Champetier <champetier.etienne@gmail.com>:

2016-03-16 10:44 GMT+01:00 <J.Witvliet@mindef.nl>:

-----Original Message-----
From: users [mailto:users-bounces@jitsi.org] On Behalf Of Yasen
Pramatarov
Sent: woensdag 16 maart 2016 10:09
To: users@jitsi.org
Subject: Re: [jitsi-users] Limiting bandwidth in jitsi-meet

On Tue, 15 Mar 2016 19:31:09 -0700 Michael Pliskin wrote:

>thanks for the reply, do you have any examples of using traffic shaper
>with jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc -
>or it can be done on prosody level using mod_limits?

Linux traffic shaper and tc would be the way to go -- you don't need to
limit the XMPP server, as most of the traffic won't be coming from it
directly, but from the videobridge.

>What I need is to limit the per-client-host download rate..

With a shaper you could distinguish the clients by their IP addresses
for example. with some more complex script maybe you could get the
username from Prosody also, and filter them by their usernames, but I'm
not sure that won't be an overhead. Anyway, just a thought.

Remember that with TC, you can influence your outgoing data-stream; not
the incoming....

This is not true, you can drop/slow down incoming packet with TC
(but it's useless if your flow as no congestion control algorithm)

I've done some experiments with mixed results:
http://lists.jitsi.org/pipermail/dev/2016-January/026472.html

In the end for now i've an ugly patch to add x-google-max-bitrate in the
SDP
(chrome only but it's ok for us for now)

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
  Best regards,
    Mike


#11

forgot to answer, it's a quick and dirty patch
https://github.com/champtar/lib-jitsi-meet/commit/b2ee9f65cc67ca890d2642d16d1c6a41b0dfd43d

···

2016-03-17 1:56 GMT+01:00 Michael Pliskin <michael.pliskin@gmail.com>:

Etienne,

thanks for the reply, would you mind sharing your patch? Is it for jitsi
or jvb?

Michael

2016-03-16 3:27 GMT-07:00 Etienne Champetier <champetier.etienne@gmail.com
>:

2016-03-16 10:44 GMT+01:00 <J.Witvliet@mindef.nl>:

-----Original Message-----
From: users [mailto:users-bounces@jitsi.org] On Behalf Of Yasen
Pramatarov
Sent: woensdag 16 maart 2016 10:09
To: users@jitsi.org
Subject: Re: [jitsi-users] Limiting bandwidth in jitsi-meet

On Tue, 15 Mar 2016 19:31:09 -0700 Michael Pliskin wrote:

>thanks for the reply, do you have any examples of using traffic shaper
>with jitsi? I guess I need to do it on TCP/UDP level - i.e. using tc -
>or it can be done on prosody level using mod_limits?

Linux traffic shaper and tc would be the way to go -- you don't need
to limit the XMPP server, as most of the traffic won't be coming from it
directly, but from the videobridge.

>What I need is to limit the per-client-host download rate..

With a shaper you could distinguish the clients by their IP addresses
for example. with some more complex script maybe you could get the
username from Prosody also, and filter them by their usernames, but I'm
not sure that won't be an overhead. Anyway, just a thought.

Remember that with TC, you can influence your outgoing data-stream; not
the incoming....

This is not true, you can drop/slow down incoming packet with TC
(but it's useless if your flow as no congestion control algorithm)

I've done some experiments with mixed results:
http://lists.jitsi.org/pipermail/dev/2016-January/026472.html

In the end for now i've an ugly patch to add x-google-max-bitrate in the
SDP
(chrome only but it's ok for us for now)

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
  Best regards,
    Mike

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users