Add basic QoS attributes to our A/V sockets

This commit is contained in:
Cameron Gutman
2024-01-31 23:59:23 -06:00
parent 68153174bc
commit c0e3dc64a4
5 changed files with 64 additions and 5 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ int notifyAudioPortNegotiationComplete(void) {
// For GFE 3.22 compatibility, we must start the audio ping thread before the RTSP handshake.
// It will not reply to our RTSP PLAY request until the audio ping has been received.
rtpSocket = bindUdpSocket(RemoteAddr.ss_family, &LocalAddr, AddrLen, 0);
rtpSocket = bindUdpSocket(RemoteAddr.ss_family, &LocalAddr, AddrLen, 0, SOCK_QOS_TYPE_AUDIO);
if (rtpSocket == INVALID_SOCKET) {
return LastSocketFail();
}