Commit 175a46b0 authored by jehan's avatar jehan
Browse files

disable symetric rtp in case of multicast

parent d4b683a6
......@@ -305,7 +305,7 @@ void media_stream_iterate(MediaStream *stream){
/*try to know if we can trust stun packets for symetric rtp*/
rtp_stats_t stats;
media_stream_get_local_rtp_stats(stream, &stats);
if (stats.packet_recv == 0 ) {
if (stats.packet_recv == 0 && !ms_is_multicast_addr((const struct sockaddr *)&stream->sessions.rtp_session-> {
ms_message("stun packet received but no rtp yet for stream [%p], switching rtp destination address",stream);
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