Commit e4362e10 authored by Ghislain MARY's avatar Ghislain MARY

Activate IP_PKTINFO socket option RTP and RTCP sockets (needed for ICE).

parent 6c46d509
......@@ -720,6 +720,7 @@ void setup_media_streams(MediastreamDatas* args) {
printf("Error: video support not compiled.\n");
#endif
}
rtp_session_set_pktinfo(args->session, TRUE);
ice_session_set_base_for_srflx_candidates(args->ice_session);
ice_session_compute_candidates_foundations(args->ice_session);
ice_session_choose_default_candidates(args->ice_session);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment