[jitsi-dev] DSCP


#1

Hi, Jitsi Team!
Can Jitsi to add to the rtp packets DSCP information?
The screenshot shows that Jitsi does not add this information:
http://www.freeimagehosting.net/newuploads/eo9rf.png

and sip server adds:
http://www.freeimagehosting.net/newuploads/prmiy.png

I found a method setTrafficClass in src \ net \ java \ sip \ communicator \
service \ protocol \ media \ TransportManager.java
and tried to set different values for the variable trafficClass, but it
does not work ((

···

--
Best regards,
Oleg


#2

From the Wireshark screenshot I assume you're using Windows. A default installation discards any DSCP-flags set by an application. You need to tweak something through Group Policies or some registry keys. I don't remember the actual setting right now, but searching for it should lead you to plenty of Blog entries discussing exactly this issue.
Note that this affects any application, not just Jitsi.

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

···

Le 26.06.2013 à 17:24, "Oleg Odinec" <oleg.odinec@gmail.com> a écrit :

Hi, Jitsi Team!
Can Jitsi to add to the rtp packets DSCP information?
The screenshot shows that Jitsi does not add this information:
http://www.freeimagehosting.net/newuploads/eo9rf.png

and sip server adds:
http://www.freeimagehosting.net/newuploads/prmiy.png

I found a method setTrafficClass in src \ net \ java \ sip \ communicator \ service \ protocol \ media \ TransportManager.java
and tried to set different values for the variable trafficClass, but it does not work ((

--
Best regards,
Oleg
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

From the Wireshark screenshot I assume you're using Windows. A default
installation discards any DSCP-flags set by an application.

Confirmed.

You need to
tweak something through Group Policies or some registry keys. I don't
remember the actual setting right now, but searching for it should lead you
to plenty of Blog entries discussing exactly this issue.
Note that this affects any application, not just Jitsi.

By default Jitsi uses ports 5000 to 6000 so these are the ones that
people generally configure through group policies. You can also
provision audio and video to use distinct ranges if you need to.

Cheers,
Emil

···

On Wed, Jun 26, 2013 at 6:45 PM, Ingo Bauersachs <ingo@jitsi.org> wrote:

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

Le 26.06.2013 à 17:24, "Oleg Odinec" <oleg.odinec@gmail.com> a écrit :

Hi, Jitsi Team!
Can Jitsi to add to the rtp packets DSCP information?
The screenshot shows that Jitsi does not add this information:
http://www.freeimagehosting.net/newuploads/eo9rf.png

and sip server adds:
http://www.freeimagehosting.net/newuploads/prmiy.png

I found a method setTrafficClass in src \ net \ java \ sip \ communicator \
service \ protocol \ media \ TransportManager.java
and tried to set different values for the variable trafficClass, but it
does not work ((

--
Best regards,
Oleg

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

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

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
https://jitsi.org FAX: +33.1.77.62.47.31


#4

Thank you for your answers!
I tested it on windows x64 and macosx. it does not work in any of these
systems.
Also on the windows I tried to do as described here:
https://forums.oracle.com/thread/1149919
but it does not work ((

Maybe value 46 for setTrafficClass () is not correct?

>> From the Wireshark screenshot I assume you're using Windows. A default
>> installation discards any DSCP-flags set by an application.

>Confirmed.

>> You need to
>> tweak something through Group Policies or some registry keys. I don't
>> remember the actual setting right now, but searching for it should lead
you

···

2013/6/26 Emil Ivov <emcho@jitsi.org>
>> to plenty of Blog entries discussing exactly this issue.
>> Note that this affects any application, not just Jitsi.

>By default Jitsi uses ports 5000 to 6000 so these are the ones that
>people generally configure through group policies. You can also
>provision audio and video to use distinct ranges if you need to.

>Cheers,
>Emil

--
Best regards,
Oleg


#5

Thank you for your answers!
I tested it on windows x64 and macosx. it does not work in any of these
systems.
Also on the windows I tried to do as described here:
https://forums.oracle.com/thread/1149919
but it does not work ((

Maybe value 46 for setTrafficClass () is not correct?

It is correct. What Ingo and I were referring to is that Windows does not allow applications to set this (unless they have admin privileges). You should handle this with group policies.

As for Mac, you need to use the IPv4 stack in order to have DSCP working. If running from source you can do this by executing "ant run-v4"

Hope this helps,
Emil

···

On 27.06.13, 12:24, Oleg Odinec wrote:

2013/6/26 Emil Ivov <emcho@jitsi.org <mailto:emcho@jitsi.org>>

  >> From the Wireshark screenshot I assume you're using Windows. A default
  >> installation discards any DSCP-flags set by an application.

  >Confirmed.

  >> You need to
  >> tweak something through Group Policies or some registry keys. I don't
  >> remember the actual setting right now, but searching for it should
lead you
  >> to plenty of Blog entries discussing exactly this issue.
  >> Note that this affects any application, not just Jitsi.

  >By default Jitsi uses ports 5000 to 6000 so these are the ones that
  >people generally configure through group policies. You can also
  >provision audio and video to use distinct ranges if you need to.

  >Cheers,
  >Emil

--

Best regards,
Oleg

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

--
https://jitsi.org