Add basic QoS attributes to our A/V sockets

This commit is contained in:
Cameron Gutman committed 2024-02-01 00:15:47 -06:00
1 parent 68153174bc
commit c0e3dc64a4
5 files changed
+64 -5

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ int LiFindExternalAddressIP4(const char* stunServer, unsigned short stunPort, un
goto Exit;
}
sock = bindUdpSocket(hints.ai_family, NULL, 0, 0);
sock = bindUdpSocket(hints.ai_family, NULL, 0, 0, SOCK_QOS_TYPE_BEST_EFFORT);
if (sock == INVALID_SOCKET) {
err = LastSocketFail();
Limelog("Failed to connect to STUN server: %d\n", err);