[Bug 650646] rtspsrc doesn't connects by multicast

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 20 06:27:43 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=650646
  GStreamer | gst-plugins | 0.10.28

--- Comment #1 from beemaster <xxxiter at rambler.ru> 2011-05-20 13:27:39 UTC ---
I have hacked file 'gstrtspsrc.c' from 'good plugins' v.0.10.28 source package
by replacing this line in function 'gst_rtspsrc_create_transports_string':

    //g_string_append (result, ";multicast");
    g_string_append (result, ";multicast;client_port=5000-5001");

Now the camera responds 'OK' on 'SETUP' request but rtspsrc plugin cannot parse
it's respond:

######
RTSP request message 0xbf80fa94
 request line:
   method: 'SETUP'
   uri:    'rtsp://192.168.0.102:7070/track1'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP;multicast;client_port=5000-5001'
 body:
RTSP response message 0xbf80fa78
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Thu, Jan 01 2004 23:09:30 GMT'
   key: 'Transport', value:
'multicast;destination=228.5.6.2;port=5000-5001;ttl=16'
   key: 'Session', value: '5'
 body: length 0
0:00:00.032873870 16121  0x9c71050 ERROR                rtspsrc
gstrtspsrc.c:5325:gst_rtspsrc_open_from_sdp:<rtspsrc0> setup failed
ОШИБКА: Конвейер не хочет становиться на паузу.
ОШИБКА: из элемента /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Не найдены
поддерживаемые потоки. Возможно вам нужно указать больше протоколов или верное
GStreamer RTSP расширение.
Дополнительная отладочная информация:
gstrtspsrc.c(5158): gst_rtspsrc_setup_streams ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0
Установка конвейера в состояние NULL...
######


This line from errors log:

######
0:00:00.111733881 ^[[336m16085^[[00m  0x9e2f050 ^[[33;01mWARN   ^[[00m ^[[00m  
          rtspsrc gstrtspsrc.c:5030:gst_rtspsrc_setup_streams:<rtspsrc0>^[[00m
failed to parse transport multicast;destination=228.5.6.2;port=5000-5001;ttl=16
######


I can provide more info and more tests if it helps us to make rtspsrc plugin
really good.

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