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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 12 02:05:30 PDT 2013


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

           Summary: SDP response includes remote address where the local
                    should be
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: alexas at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=246595)
 View: https://bugzilla.gnome.org/attachment.cgi?id=246595
 Review: https://bugzilla.gnome.org/review?bug=702063&attachment=246595

Patch

In the response from the rtsp-server we get:

c=IN IP4 192.168.0.1

Note that 192.168.0.1 is not the IP of the rtsp server host, it's the client ip
that is connecting to the rtsp server. This is wrong.

**** Before patch:

Received response:
RTSP/1.0 200 OK
CSeq: 0
Content-Type: application/sdp
Content-Base: rtsp://192.168.0.90/axis-media/media.amp/
Server: GStreamer RTSP server
Date: Wed, 12 Jun 2013 10:08:04 GMT
Content-Length: 433

v=0
o=- 1188340656180883 1 IN IP4 192.168.0.1
s=Session streamed with GStreamer
i=rtsp-server
t=0 0
a=tool:GStreamer
a=type:broadcast
a=control:*
a=range:npt=now-
m=video 0 RTP/AVP 96
c=IN IP4 192.168.0.1
b=AS:50
a=rtpmap:96 H264/90000
a=control:stream=0
a=fmtp:96 sprop-parameter-sets=Z00AMuKQBRAevy4C3AQEBpB4kRU=,aO48gA==
a=transform:1.000000,0.000000,0.000000;0.000000,1.000000,0.000000;0.000000,0.000000,1.000000

**** After patch:

Send request:
DESCRIBE rtsp://192.168.0.90/axis-media/media.amp RTSP/1.0
CSeq: 0
User-Agent: Axis AMC
Accept: application/sdp
Authorization: Basic cm9vdDpwYXNz

Received response:
RTSP/1.0 200 OK
CSeq: 0
Content-Type: application/sdp
Content-Base: rtsp://192.168.0.90/axis-media/media.amp/
Server: GStreamer RTSP server
Date: Wed, 12 Jun 2013 10:04:44 GMT
Content-Length: 435

v=0
o=- 1188340656180883 1 IN IP4 192.168.0.90
s=Session streamed with GStreamer
i=rtsp-server
t=0 0
a=tool:GStreamer
a=type:broadcast
a=control:*
a=range:npt=now-
m=video 0 RTP/AVP 96
c=IN IP4 192.168.0.90
b=AS:50
a=rtpmap:96 H264/90000
a=control:stream=0
a=fmtp:96 sprop-parameter-sets=Z00AMuKQBRAevy4C3AQEBpB4kRU=,aO48gA==
a=transform:1.000000,0.000000,0.000000;0.000000,1.000000,0.000000;0.000000,0.000000,1.000000

-- 
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