TT#106101 don't require connection address for ICE fragments

Change-Id: I0ee1af3d41ea2f6484daffae0c2c0e1c8a25ef45
pull/1164/head
Richard Fuchs 5 years ago
parent 60fd172720
commit df11807324

@ -1502,7 +1502,8 @@ int sdp_streams(const GQueue *sessions, GQueue *streams, struct sdp_ng_flags *fl
sp->index = ++num;
errstr = "No address info found for stream";
if (fill_endpoint(&sp->rtp_endpoint, media, flags, NULL, media->port_num))
if (!flags->fragment
&& fill_endpoint(&sp->rtp_endpoint, media, flags, NULL, media->port_num))
goto error;
sp->consecutive_ports = media->port_count;

Loading…
Cancel
Save