Skip to content

Commit 2841520

Browse files
committed
rtp: Fix crash due to invalid force_ip_version
The parameter changed from bool to int containing version number in c692a01
1 parent 87279e0 commit 2841520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtp/rtp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ rtp_t rtp_init_with_udp_socket(struct socket_udp_local *l, struct sockaddr *sa,
12201220
session->send_rtcp_to_origin = true;
12211221

12221222
session->rtp_socket = udp_init_with_local(l, sa, len);
1223-
session->rtcp_socket = udp_init_if("localhost", NULL, 0, 0, ttl, true, false);
1223+
session->rtcp_socket = udp_init_if("localhost", NULL, 0, 0, ttl, 6, false);
12241224

12251225
init_opt(session);
12261226

0 commit comments

Comments
 (0)