Skip to content

Commit

Permalink
rtp: Fix crash due to invalid force_ip_version
Browse files Browse the repository at this point in the history
The parameter changed from bool to int containing version number in
c692a01
  • Loading branch information
mpiatka committed Nov 10, 2023
1 parent 96373a1 commit bf8af5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtp/rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bf8af5f

Please sign in to comment.