-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP Differentiated Services on Windows #61
Comments
Explain, please. Does it happen that the libjuice does not work on Windows and I only need to use Linux? |
As advertised in the Readme, libjuice works fine on Windows. Differentiated Services allow to set the proper priority on packets, allowing to optimize latency for real-time traffic. The feature is not available on Windows for now, so performance can be slightly lower for some use cases. Nothing serious, though. |
I've successfully deployed some experimental testing on another project and wanted to share what I learned. If the qwave service is already running then you can add a socket to one of the existing traffic classes (see QOSTrafficType) without admin elevation. Admin flow is only needed for setting arbitrary dscp values, using adaptive flow, or starting the service if it's not already started (in which case you could just log an error requesting the user install/start the service or set it to start on boot. See here) A basic implementation would be:
edit: So the win32 section of
|
Thank you for sharing! The API design is ludicrous to me, all other OSes simply have a Expedited Forwarding (DSCP 46 = 0x2e) is also used for audio, I guess it should be mapped to |
I did some additional testing and at least on my windows 11 laptop the service seems to be running on boot by default with all the listed classes available. Definitely agree about the design, seems both needlessly complex and strangely inflexible at the same time. I'm really not sure what the difference is between I notice mumble tries to load the DLL before calling Also in my testing So you can probably get away with not storing the
|
IP Differentiated Services by setting the IPv4 ToS field or the IPv6 Traffic Class field are not supported on Microsoft Windows. Microsoft has a proprietary API called qWave for QoS, it should be investigated to establish whether the DSCP can be set without administrator flow configuration.
libjuice/src/udp.c
Line 149 in 11c8961
The text was updated successfully, but these errors were encountered: