Skip to content

Commit

Permalink
UDP max priority
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Dec 26, 2024
1 parent 472e85c commit 0f1eb3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<jna.version>5.16.0</jna.version>
<gstreamer.version>1.4.0</gstreamer.version>
<paho.version>1.2.5</paho.version>
<logback.version>1.5.12</logback.version>
<logback.version>1.5.14</logback.version>
<slf4j.version>2.0.16</slf4j.version>
<xtaudio.version>2.0</xtaudio.version>
<dbus.java.version>5.1.0</dbus.java.version>
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/dpsoftware/network/tcpUdp/UdpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ public class UdpClient {
public UdpClient(String deviceIP) throws SocketException, UnknownHostException {
socket = new DatagramSocket();
socket.setSendBufferSize(Constants.UDP_MAX_BUFFER_SIZE);
socket.setTrafficClass(0x08);
// TODO
// socket.setTrafficClass(0x08);
socket.setTrafficClass(0xB8);
address = InetAddress.getByName(deviceIP);
}

Expand Down

0 comments on commit 0f1eb3c

Please sign in to comment.