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
@@ -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();
}