Commit f37e3f53 authored by Simon Morlat's avatar Simon Morlat
Browse files

turn off symmetric RTP by default. Indeed, this creates problem if a late STUN...

turn off symmetric RTP by default. Indeed, this creates problem if a late STUN packet arrives from a stun server after the audio or video stream are started, because all the flow will be directed to the stun server.
parent 0a09b7c9
......@@ -1589,7 +1589,10 @@ bool_t linphone_core_file_format_supported(LinphoneCore *lc, const char *fmt){
bool_t linphone_core_symmetric_rtp_enabled(LinphoneCore*lc){
return lp_config_get_int(lc->config,"rtp","symmetric",1);
/* Clients don't really need rtp symmetric, unless they have a public IP address and want
* to interoperate with natted client. This case is not frequent with client apps.
return lp_config_get_int(lc->config,"rtp","symmetric",0);
int linphone_core_set_network_simulator_params(LinphoneCore *lc, const OrtpNetworkSimulatorParams *params){
mediastreamer2 @ 1c8e0703
Subproject commit f18f59c88c58d6c5c7408af2213474473f87548d
Subproject commit 1c8e070314e70813bf3a80c68ed08c6e4d4a3f56
oRTP @ 945ceb0b
Subproject commit 0136216d99c012b03698bc2984a2c2f047ce7713
Subproject commit 945ceb0b3ac0b6c87da8679ee6dbc2bedafdfabe
......@@ -1255,6 +1255,9 @@ static void accept_call_in_send_only_base(LinphoneCoreManager* pauline, Linphone
/*The send-only client shall set rtp symmetric in absence of media relay for this test.*/
......@@ -1303,7 +1306,6 @@ static void accept_call_in_send_base(bool_t caller_has_ice) {
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