From bf8af5fc9e292951b5254d6bf228dbc214e1f878 Mon Sep 17 00:00:00 2001 From: Martin Piatka Date: Fri, 10 Nov 2023 11:37:46 +0100 Subject: [PATCH] rtp: Fix crash due to invalid force_ip_version The parameter changed from bool to int containing version number in c692a01 --- src/rtp/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtp/rtp.c b/src/rtp/rtp.c index b431efd69..90bb23d68 100644 --- a/src/rtp/rtp.c +++ b/src/rtp/rtp.c @@ -1191,7 +1191,7 @@ rtp_t rtp_init_with_udp_socket(struct socket_udp_local *l, struct sockaddr *sa, session->send_rtcp_to_origin = true; session->rtp_socket = udp_init_with_local(l, sa, len); - session->rtcp_socket = udp_init_if("localhost", NULL, 0, 0, ttl, true, false); + session->rtcp_socket = udp_init_if("localhost", NULL, 0, 0, ttl, 6, false); init_opt(session);