[Bug 774806] user-agent duplicated in rtspsrc header

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 23 10:54:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774806

--- Comment #2 from Stuart <stuart.weaver at datapath.co.uk> ---
Hi Sebastian,

It's a case that gst_rtsp_ext_list_before_send() does not take into account
anything initialised already. With a couple of prints and
gst_rtsp_message_dump() around the gst_rtsp_ext_list_before_send() in
gst_rtspsrc_try_send(), we get the following:


Message dump BEFORE gst_rtsp_ext_list_before_send():

RTSP request message 0x7fedb4898c80
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://192.168.0.54:554/MediaInput/h264'
   version: '1.0'
 headers:
   key: 'User-Agent', value: 'GStreamer/1.6.3'
 body:


Message dump AFTER gst_rtsp_ext_list_before_send():

RTSP request message 0x7fedb4898c80
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://192.168.0.54:554/MediaInput/h264'
   version: '1.0'
 headers:
   key: 'User-Agent', value: 'GStreamer/1.6.3'
   key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235
(linux-2.0-libc6-i386-gcc2.95)'
   key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'
   key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'RegionData', value: '0'
   key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'
   key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'
 body:


I've narrowed it down to the call to iface->before_send (ext, req) in
gst_rtsp_extension_before_send(), but unsure where to go from there.

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