[Bug 702063] SDP response includes remote address where the local should be

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 12 02:45:26 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702063
  GStreamer | gst-rtsp-server | 1.x

--- Comment #1 from Alexander Schrab <alexas at axis.com> 2013-06-12 09:45:22 UTC ---
After reading: http://www.ietf.org/mail-archive/web/avt/current/msg01413.html
and discussions internally here I realize it's not this simple. The bug, and
fix, is still valid for the o= field but the c field is more complex. It should
normally be 0.0.0.0 for unicast (unless the rtp only sends to a single specific
client address which doesn't make sense) and the multicast group address+ttl
for multicast.

So this patch is still correct, since we need to assign server_ip of
GstRTSPClientPrivate to the local address of the rtsp server. BUT the sdp
should not use this address for the c= line. See
rtsp-sdp.c:gst_rtsp_sdp_from_media where server_ip is used directly for
creating the c= line without regard to unicast/multicast etc.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list