After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617537 - rtspsrc always falls back to unicast instead of using the announced multicast
rtspsrc always falls back to unicast instead of using the announced multicast
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.22
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-03 15:40 UTC by Marc Leeman
Modified: 2010-05-07 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc Leeman 2010-05-03 15:40:51 UTC
Even when an rtsp encoder announces multicast; rtspsrc always uses unicast after failing to get multicast.

[mleeman@bane ~]$ GST_DEBUG=*rtspsrc*:5 gst-launch rtspsrc location=rtsp://10.3.0.117/vsip2 debug=True protocols=0x2 mcast-interface=eth0 ! fakesink=True
Setting pipeline to PAUSED ...
0:00:00.774022451  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5653:gst_rtspsrc_uri_set_uri:<rtspsrc0> set uri: rtsp://10.3.0.117/vsip2
0:00:00.774126778  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5655:gst_rtspsrc_uri_set_uri:<rtspsrc0> request uri is: rtsp://10.3.0.117/vsip2
0:00:00.774290206  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4767:gst_rtspsrc_open:<rtspsrc0> creating connection (rtsp://10.3.0.117/vsip2)...
0:00:00.774367125  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4784:gst_rtspsrc_open:<rtspsrc0> connecting (rtsp://10.3.0.117/vsip2)...
0:00:00.776221058  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4792:gst_rtspsrc_open:<rtspsrc0> create options...
0:00:00.776240637  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4800:gst_rtspsrc_open:<rtspsrc0> send options...
0:00:00.776258289  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9e70
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   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:
RTSP response message 0x7fff07de9e30
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'PAUSE'
 body: length 0
0:00:00.806975195  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.806994067  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.807016754  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4809:gst_rtspsrc_open:<rtspsrc0> create describe...
0:00:00.807031015  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4827:gst_rtspsrc_open:<rtspsrc0> send describe...
0:00:00.807041322  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9e70
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7fff07de9e30
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://10.3.0.117/vsip2/'
   key: 'Content-Length', value: '322'
 body: length 323
00000000 (0xf5b6e0): 76 3d 30 0d 0a 6f 3d 2d 20 31 20 31 20 49 4e 20  v=0..o=- 1 1 IN 
00000010 (0xf5b6f0): 49 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73  IP4 127.0.0.1..s
00000020 (0xf5b700): 3d 52 54 50 20 73 65 73 73 69 6f 6e 0d 0a 65 3d  =RTP session..e=
00000030 (0xf5b710): 4e 4f 4e 45 0d 0a 63 3d 49 4e 20 49 50 34 20 32  NONE..c=IN IP4 2
00000040 (0xf5b720): 32 36 2e 32 35 35 2e 30 2e 31 31 37 2f 33 32 0d  26.255.0.117/32.
00000050 (0xf5b730): 0a 62 3d 52 52 3a 30 0d 0a 74 3d 30 20 30 0d 0a  .b=RR:0..t=0 0..
00000060 (0xf5b740): 6d 3d 76 69 64 65 6f 20 34 30 30 30 20 52 54 50  m=video 4000 RTP
00000070 (0xf5b750): 2f 41 56 50 20 39 36 0d 0a 61 3d 72 74 70 6d 61  /AVP 96..a=rtpma
00000080 (0xf5b760): 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30  p:96 MP4V-ES/900
00000090 (0xf5b770): 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72  00..a=fmtp:96 pr
000000a0 (0xf5b780): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 32  ofile-level-id=2
000000b0 (0xf5b790): 34 35 3b 20 63 6f 6e 66 69 67 3d 30 30 30 30 30  45; config=00000
000000c0 (0xf5b7a0): 31 62 30 66 35 30 30 30 30 30 31 62 35 30 39 30  1b0f5000001b5090
000000d0 (0xf5b7b0): 30 30 30 30 31 30 30 30 30 30 30 30 31 32 30 30  0000100000001200
000000e0 (0xf5b7c0): 38 63 34 39 35 34 30 30 30 35 64 34 63 34 30 65  8c49540005d4c40e
000000f0 (0xf5b7d0): 34 66 30 30 39 62 38 37 35 39 36 31 61 38 61 32  4f009b875961a8a2
00000100 (0xf5b7e0): 63 30 38 39 30 32 38 38 37 30 30 30 30 30 31 62  c08902887000001b
00000110 (0xf5b7f0): 32 36 35 36 64 33 34 37 36 32 30 33 34 32 65 33  2656d347620342e3
00000120 (0xf5b800): 35 32 65 33 30 32 65 33 32 30 30 63 37 66 66 0d  52e302e3200c7ff.
00000130 (0xf5b810): 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 76 69 64 65 6f  .a=control:video
00000140 (0xf5b820): 0d 0a 00                                         ...             
0:00:00.809011934  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.809053150  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.809097494  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4867:gst_rtspsrc_open:<rtspsrc0> parse SDP...
sdp packet 0x7fff07de9d70:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '1'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '127.0.0.1'
 session_name:  'RTP session'
 information:   '(NULL)'
 uri:           '(NULL)'
 emails:
  email 'NONE'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '226.255.0.117'
  ttl:          '32'
  addr_number:  '0'
 bandwidths:
  type:         'RR'
  bandwidth:    '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 medias:
  media 0:
   media:       'video'
   port:        '4000'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'fmtp' : '96 profile-level-id=245; config=000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff'
    attribute 'control' : 'video'
0:00:00.810442665  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:913:gst_rtspsrc_create_stream: mapping sdp session level attributes to caps
0:00:00.810486209  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:915:gst_rtspsrc_create_stream: mapping sdp media level attributes to caps
0:00:00.810525999  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:933:gst_rtspsrc_create_stream:<rtspsrc0> stream 0, (0xf5bd60)
0:00:00.810565576  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:934:gst_rtspsrc_create_stream:<rtspsrc0>  pt: 96
0:00:00.810604067  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:935:gst_rtspsrc_create_stream:<rtspsrc0>  container: 0
0:00:00.810642732  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:936:gst_rtspsrc_create_stream:<rtspsrc0>  caps: application/x-unknown, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)245, config=(string)000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff
0:00:00.810716439  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:937:gst_rtspsrc_create_stream:<rtspsrc0>  control: video
0:00:00.810757336  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:955:gst_rtspsrc_create_stream:<rtspsrc0>  setup: rtsp://10.3.0.117/vsip2/video
0:00:00.810799644  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4422:gst_rtspsrc_setup_streams:<rtspsrc0> doing setup of stream 0xf5bd60 with rtsp://10.3.0.117/vsip2/video
0:00:00.810836673  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4433:gst_rtspsrc_setup_streams:<rtspsrc0> protocols = 0x2, protocol mask = 0x2
0:00:00.810878695  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4196:gst_rtspsrc_create_transports_string:<rtspsrc0> got transports (NULL)
0:00:00.810919862  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4215:gst_rtspsrc_create_transports_string:<rtspsrc0> adding UDP multicast
0:00:00.810960245  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4235:gst_rtspsrc_create_transports_string:<rtspsrc0> prepared transports RTP/AVP/UDP;multicast
0:00:00.810999001  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4448:gst_rtspsrc_setup_streams:<rtspsrc0> replace ports in RTP/AVP/UDP;multicast
0:00:00.811041883  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4459:gst_rtspsrc_setup_streams:<rtspsrc0> transport is now RTP/AVP/UDP;multicast
0:00:00.811083276  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9c40
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.3.0.117/vsip2/video'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;multicast'
 body:
RTSP response message 0x7fff07de9c00
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Session', value: '342245158'
   key: 'Transport', value: 'RTP/AVP;multicast;server_port=4000-4001'
 body: length 0
0:00:00.812093406  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.812103885  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.812121488  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4557:gst_rtspsrc_setup_streams:<rtspsrc0> stream 0xf5bd60 as UDP multicast
0:00:00.812139098  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2650:gst_rtspsrc_stream_configure_transport:<rtspsrc0> configuring transport for stream 0xf5bd60
0:00:00.812149943  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2661:gst_rtspsrc_stream_configure_transport:<rtspsrc0> setting mime to application/x-rtp
0:00:00.812160521  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2148:gst_rtspsrc_stream_configure_manager:<rtspsrc0> using manager gstrtpbin
0:00:00.945397806  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2186:gst_rtspsrc_stream_configure_manager:<rtspsrc0> connect to signals on session manager, stream 0xf5bd60
0:00:00.953236563  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1985:new_session_pad:<rtspsrc0> got new session pad <rtpbin0:recv_rtp_sink_0>
0:00:00.953265607  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2040:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:00.953431634  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1985:new_session_pad:<rtspsrc0> got new session pad <rtpbin0:recv_rtcp_sink_0>
0:00:00.953453240  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2040:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:00.953466369  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2356:gst_rtspsrc_stream_configure_mcast:<rtspsrc0> creating UDP sources for multicast
0:00:00.953479139  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2408:gst_rtspsrc_stream_configure_mcast:<rtspsrc0> no destination found
0:00:00.953490357  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2715:gst_rtspsrc_stream_configure_transport:<rtspsrc0> failed to configure transport
0:00:00.953499365  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4576:gst_rtspsrc_setup_streams:<rtspsrc0> could not configure stream 0xf5bd60 transport, skipping stream
0:00:01.004050819  1894       0xd77080 WARN                 rtspsrc gstrtspsrc.c:4661:gst_rtspsrc_setup_streams:<rtspsrc0> error: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.
0:00:01.004101575  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5013:gst_rtspsrc_close:<rtspsrc0> TEARDOWN...
0:00:01.004119317  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3475:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:01.004130739  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5043:gst_rtspsrc_close:<rtspsrc0> stop connection flush
0:00:01.004139907  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5051:gst_rtspsrc_close:<rtspsrc0> not ready, doing cleanup
0:00:01.004148776  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5076:gst_rtspsrc_close:<rtspsrc0> closing connection...
0:00:01.004191360  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1022:gst_rtspsrc_cleanup:<rtspsrc0> cleanup
0:00:01.004207243  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:970:gst_rtspsrc_stream_free:<rtspsrc0> free stream 0xf5bd60
0:00:01.004475477  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5597:gst_rtspsrc_change_state:<rtspsrc0> open failed
0:00:01.004525105  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4767:gst_rtspsrc_open:<rtspsrc0> creating connection (rtsp://10.3.0.117/vsip2)...
0:00:01.004549665  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4784:gst_rtspsrc_open:<rtspsrc0> connecting (rtsp://10.3.0.117/vsip2)...
0:00:01.004852242  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4792:gst_rtspsrc_open:<rtspsrc0> create options...
0:00:01.004918562  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4800:gst_rtspsrc_open:<rtspsrc0> send options...
0:00:01.004967949  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9f20
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   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:
RTSP response message 0x7fff07de9ee0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'PAUSE'
 body: length 0
0:00:01.006750852  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.006762287  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.006787355  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4809:gst_rtspsrc_open:<rtspsrc0> create describe...
0:00:01.006802947  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4827:gst_rtspsrc_open:<rtspsrc0> send describe...
0:00:01.006813801  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9f20
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7fff07de9ee0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://10.3.0.117/vsip2/'
   key: 'Content-Length', value: '322'
 body: length 323
00000000 (0xf5a6f0): 76 3d 30 0d 0a 6f 3d 2d 20 31 20 31 20 49 4e 20  v=0..o=- 1 1 IN 
00000010 (0xf5a700): 49 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73  IP4 127.0.0.1..s
00000020 (0xf5a710): 3d 52 54 50 20 73 65 73 73 69 6f 6e 0d 0a 65 3d  =RTP session..e=
00000030 (0xf5a720): 4e 4f 4e 45 0d 0a 63 3d 49 4e 20 49 50 34 20 32  NONE..c=IN IP4 2
00000040 (0xf5a730): 32 36 2e 32 35 35 2e 30 2e 31 31 37 2f 33 32 0d  26.255.0.117/32.
00000050 (0xf5a740): 0a 62 3d 52 52 3a 30 0d 0a 74 3d 30 20 30 0d 0a  .b=RR:0..t=0 0..
00000060 (0xf5a750): 6d 3d 76 69 64 65 6f 20 34 30 30 30 20 52 54 50  m=video 4000 RTP
00000070 (0xf5a760): 2f 41 56 50 20 39 36 0d 0a 61 3d 72 74 70 6d 61  /AVP 96..a=rtpma
00000080 (0xf5a770): 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30  p:96 MP4V-ES/900
00000090 (0xf5a780): 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72  00..a=fmtp:96 pr
000000a0 (0xf5a790): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 32  ofile-level-id=2
000000b0 (0xf5a7a0): 34 35 3b 20 63 6f 6e 66 69 67 3d 30 30 30 30 30  45; config=00000
000000c0 (0xf5a7b0): 31 62 30 66 35 30 30 30 30 30 31 62 35 30 39 30  1b0f5000001b5090
000000d0 (0xf5a7c0): 30 30 30 30 31 30 30 30 30 30 30 30 31 32 30 30  0000100000001200
000000e0 (0xf5a7d0): 38 63 34 39 35 34 30 30 30 35 64 34 63 34 30 65  8c49540005d4c40e
000000f0 (0xf5a7e0): 34 66 30 30 39 62 38 37 35 39 36 31 61 38 61 32  4f009b875961a8a2
00000100 (0xf5a7f0): 63 30 38 39 30 32 38 38 37 30 30 30 30 30 31 62  c08902887000001b
00000110 (0xf5a800): 32 36 35 36 64 33 34 37 36 32 30 33 34 32 65 33  2656d347620342e3
00000120 (0xf5a810): 35 32 65 33 30 32 65 33 32 30 30 63 37 66 66 0d  52e302e3200c7ff.
00000130 (0xf5a820): 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 76 69 64 65 6f  .a=control:video
00000140 (0xf5a830): 0d 0a 00                                         ...             
0:00:01.007878534  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.007891975  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.007906023  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4867:gst_rtspsrc_open:<rtspsrc0> parse SDP...
sdp packet 0x7fff07de9e20:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '1'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '127.0.0.1'
 session_name:  'RTP session'
 information:   '(NULL)'
 uri:           '(NULL)'
 emails:
  email 'NONE'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '226.255.0.117'
  ttl:          '32'
  addr_number:  '0'
 bandwidths:
  type:         'RR'
  bandwidth:    '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 medias:
  media 0:
   media:       'video'
   port:        '4000'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'fmtp' : '96 profile-level-id=245; config=000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff'
    attribute 'control' : 'video'
0:00:01.008060769  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:913:gst_rtspsrc_create_stream: mapping sdp session level attributes to caps
0:00:01.008075771  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:915:gst_rtspsrc_create_stream: mapping sdp media level attributes to caps
0:00:01.008085533  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:933:gst_rtspsrc_create_stream:<rtspsrc0> stream 0, (0xf5bb00)
0:00:01.008111140  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:934:gst_rtspsrc_create_stream:<rtspsrc0>  pt: 96
0:00:01.008121266  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:935:gst_rtspsrc_create_stream:<rtspsrc0>  container: 0
0:00:01.008129161  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:936:gst_rtspsrc_create_stream:<rtspsrc0>  caps: application/x-unknown, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)245, config=(string)000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff
0:00:01.008161391  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:937:gst_rtspsrc_create_stream:<rtspsrc0>  control: video
0:00:01.008171812  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:955:gst_rtspsrc_create_stream:<rtspsrc0>  setup: rtsp://10.3.0.117/vsip2/video
0:00:01.008183514  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4422:gst_rtspsrc_setup_streams:<rtspsrc0> doing setup of stream 0xf5bb00 with rtsp://10.3.0.117/vsip2/video
0:00:01.008198077  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4433:gst_rtspsrc_setup_streams:<rtspsrc0> protocols = 0x2, protocol mask = 0x2
0:00:01.008208423  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4196:gst_rtspsrc_create_transports_string:<rtspsrc0> got transports (NULL)
0:00:01.008217512  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4215:gst_rtspsrc_create_transports_string:<rtspsrc0> adding UDP multicast
0:00:01.008225813  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4235:gst_rtspsrc_create_transports_string:<rtspsrc0> prepared transports RTP/AVP/UDP;multicast
0:00:01.008233951  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4448:gst_rtspsrc_setup_streams:<rtspsrc0> replace ports in RTP/AVP/UDP;multicast
0:00:01.008242342  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4459:gst_rtspsrc_setup_streams:<rtspsrc0> transport is now RTP/AVP/UDP;multicast
0:00:01.008252108  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3821:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fff07de9cf0
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.3.0.117/vsip2/video'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;multicast'
 body:
RTSP response message 0x7fff07de9cb0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Session', value: '359966894'
   key: 'Transport', value: 'RTP/AVP;multicast;server_port=4000-4001'
 body: length 0
0:00:01.008994396  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3850:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.009005265  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3861:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.009021885  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4557:gst_rtspsrc_setup_streams:<rtspsrc0> stream 0xf5bb00 as UDP multicast
0:00:01.009032361  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2650:gst_rtspsrc_stream_configure_transport:<rtspsrc0> configuring transport for stream 0xf5bb00
0:00:01.009041741  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2661:gst_rtspsrc_stream_configure_transport:<rtspsrc0> setting mime to application/x-rtp
0:00:01.009051089  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2148:gst_rtspsrc_stream_configure_manager:<rtspsrc0> using manager gstrtpbin
0:00:01.009148393  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2186:gst_rtspsrc_stream_configure_manager:<rtspsrc0> connect to signals on session manager, stream 0xf5bb00
0:00:01.009510703  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1985:new_session_pad:<rtspsrc0> got new session pad <rtpbin1:recv_rtp_sink_0>
0:00:01.009533802  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2040:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:01.009691486  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1985:new_session_pad:<rtspsrc0> got new session pad <rtpbin1:recv_rtcp_sink_0>
0:00:01.009713748  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2040:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:01.009726650  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2356:gst_rtspsrc_stream_configure_mcast:<rtspsrc0> creating UDP sources for multicast
0:00:01.009736639  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2408:gst_rtspsrc_stream_configure_mcast:<rtspsrc0> no destination found
0:00:01.009747042  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:2715:gst_rtspsrc_stream_configure_transport:<rtspsrc0> failed to configure transport
0:00:01.009755123  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:4576:gst_rtspsrc_setup_streams:<rtspsrc0> could not configure stream 0xf5bb00 transport, skipping stream
0:00:01.009772483  1894       0xd77080 WARN                 rtspsrc gstrtspsrc.c:4661:gst_rtspsrc_setup_streams:<rtspsrc0> error: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.
0:00:01.009802101  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5013:gst_rtspsrc_close:<rtspsrc0> TEARDOWN...
0:00:01.009813542  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:3475:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:01.009822688  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5043:gst_rtspsrc_close:<rtspsrc0> stop connection flush
0:00:01.009831215  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5051:gst_rtspsrc_close:<rtspsrc0> not ready, doing cleanup
0:00:01.009839356  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5076:gst_rtspsrc_close:<rtspsrc0> closing connection...
0:00:01.009863889  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:1022:gst_rtspsrc_cleanup:<rtspsrc0> cleanup
0:00:01.009878470  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:970:gst_rtspsrc_stream_free:<rtspsrc0> free stream 0xf5bb00
0:00:01.010024987  1894       0xd77080 DEBUG                rtspsrc gstrtspsrc.c:5597:gst_rtspsrc_change_state:<rtspsrc0> open failed
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstBarcoMgspBin:barcomgspbin0/GstRTSPSrc:rtspsrc0: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.
Additional debug info:
gstrtspsrc.c(4661): gst_rtspsrc_setup_streams (): /GstPipeline:pipeline0/GstBarcoMgspBin:barcomgspbin0/GstRTSPSrc:rtspsrc0
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Wim Taymans 2010-05-06 15:03:38 UTC
I think this fixes it, can you try? reopen if it's not quite working yet..

commit ef4d2901aa6321dfe79d6003869f817890359414
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Thu May 6 16:52:26 2010 +0200

    rtspsrc: use the SDP connection info in multicast
    
    Parse the connection info from the SDP.
    When we need to configure the multicast destination, fall back to the SDP
    connection info when the transport did not specify a destination and ttl.
    
    Fixes #617537
Comment 2 Marc Leeman 2010-05-07 08:34:36 UTC
It is not receiving the stream and looping; I'll try to get the stream from another pipeline to verify that the stream is actually sent on the announced multicast address.

[mleeman@bane ~]$ GST_DEBUG=*rtspsrc*:5 gst-launch rtspsrc location=rtsp://10.3.0.117/vsip2 debug=True protocols=0x2 mcast-interface=eth0 ! fakesink dump=1
0:00:00.024880928 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5701:gst_rtspsrc_uri_set_uri:<rtspsrc0> set uri: rtsp://10.3.0.117/vsip2
0:00:00.024930732 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5703:gst_rtspsrc_uri_set_uri:<rtspsrc0> request uri is: rtsp://10.3.0.117/vsip2
Setting pipeline to PAUSED ...
0:00:00.025898953 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4815:gst_rtspsrc_open:<rtspsrc0> creating connection (rtsp://10.3.0.117/vsip2)...
0:00:00.025949013 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4832:gst_rtspsrc_open:<rtspsrc0> connecting (rtsp://10.3.0.117/vsip2)...
0:00:00.026347021 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4840:gst_rtspsrc_open:<rtspsrc0> create options...
0:00:00.026370952 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4848:gst_rtspsrc_open:<rtspsrc0> send options...
0:00:00.026385605 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff9048d0
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   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:
RTSP response message 0x7fffff904890
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'PAUSE'
 body: length 0
0:00:00.067551838 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.067604548 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.067661772 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4857:gst_rtspsrc_open:<rtspsrc0> create describe...
0:00:00.067708223 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4875:gst_rtspsrc_open:<rtspsrc0> send describe...
0:00:00.067762575 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff9048d0
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7fffff904890
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://10.3.0.117/vsip2/'
   key: 'Content-Length', value: '322'
 body: length 323
00000000 (0x11cab70): 76 3d 30 0d 0a 6f 3d 2d 20 31 20 31 20 49 4e 20  v=0..o=- 1 1 IN 
00000010 (0x11cab80): 49 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73  IP4 127.0.0.1..s
00000020 (0x11cab90): 3d 52 54 50 20 73 65 73 73 69 6f 6e 0d 0a 65 3d  =RTP session..e=
00000030 (0x11caba0): 4e 4f 4e 45 0d 0a 63 3d 49 4e 20 49 50 34 20 32  NONE..c=IN IP4 2
00000040 (0x11cabb0): 32 36 2e 32 35 35 2e 30 2e 31 31 37 2f 33 32 0d  26.255.0.117/32.
00000050 (0x11cabc0): 0a 62 3d 52 52 3a 30 0d 0a 74 3d 30 20 30 0d 0a  .b=RR:0..t=0 0..
00000060 (0x11cabd0): 6d 3d 76 69 64 65 6f 20 34 30 30 30 20 52 54 50  m=video 4000 RTP
00000070 (0x11cabe0): 2f 41 56 50 20 39 36 0d 0a 61 3d 72 74 70 6d 61  /AVP 96..a=rtpma
00000080 (0x11cabf0): 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30  p:96 MP4V-ES/900
00000090 (0x11cac00): 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72  00..a=fmtp:96 pr
000000a0 (0x11cac10): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 32  ofile-level-id=2
000000b0 (0x11cac20): 34 35 3b 20 63 6f 6e 66 69 67 3d 30 30 30 30 30  45; config=00000
000000c0 (0x11cac30): 31 62 30 66 35 30 30 30 30 30 31 62 35 30 39 30  1b0f5000001b5090
000000d0 (0x11cac40): 30 30 30 30 31 30 30 30 30 30 30 30 31 32 30 30  0000100000001200
000000e0 (0x11cac50): 38 63 34 39 35 34 30 30 30 35 64 34 63 34 30 65  8c49540005d4c40e
000000f0 (0x11cac60): 34 66 30 30 39 62 38 37 35 39 36 31 61 38 61 32  4f009b875961a8a2
00000100 (0x11cac70): 63 30 38 39 30 32 38 38 37 30 30 30 30 30 31 62  c08902887000001b
00000110 (0x11cac80): 32 36 35 36 64 33 34 37 36 32 30 33 34 32 65 33  2656d347620342e3
00000120 (0x11cac90): 35 32 65 33 30 32 65 33 32 30 30 63 37 66 66 0d  52e302e3200c7ff.
00000130 (0x11caca0): 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 76 69 64 65 6f  .a=control:video
00000140 (0x11cacb0): 0d 0a 00                                         ...             
0:00:00.069156599 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.069191415 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.069209009 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4915:gst_rtspsrc_open:<rtspsrc0> parse SDP...
sdp packet 0x7fffff9047d0:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '1'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '127.0.0.1'
 session_name:  'RTP session'
 information:   '(NULL)'
 uri:           '(NULL)'
 emails:
  email 'NONE'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '226.255.0.117'
  ttl:          '32'
  addr_number:  '0'
 bandwidths:
  type:         'RR'
  bandwidth:    '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 medias:
  media 0:
   media:       'video'
   port:        '4000'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'fmtp' : '96 profile-level-id=245; config=000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff'
    attribute 'control' : 'video'
0:00:00.069422369 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:916:gst_rtspsrc_create_stream: mapping sdp session level attributes to caps
0:00:00.069440895 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:918:gst_rtspsrc_create_stream: mapping sdp media level attributes to caps
0:00:00.069450408 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:936:gst_rtspsrc_create_stream:<rtspsrc0> stream 0, (0x107a750)
0:00:00.069459990 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:937:gst_rtspsrc_create_stream:<rtspsrc0>  pt: 96
0:00:00.069470935 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:938:gst_rtspsrc_create_stream:<rtspsrc0>  container: 0
0:00:00.069478983 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:939:gst_rtspsrc_create_stream:<rtspsrc0>  caps: application/x-unknown, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)245, config=(string)000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff
0:00:00.069529536 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:940:gst_rtspsrc_create_stream:<rtspsrc0>  control: video
0:00:00.069540944 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:971:gst_rtspsrc_create_stream:<rtspsrc0>  setup: rtsp://10.3.0.117/vsip2/video
0:00:00.069556520 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4467:gst_rtspsrc_setup_streams:<rtspsrc0> doing setup of stream 0x107a750 with rtsp://10.3.0.117/vsip2/video
0:00:00.069569588 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4478:gst_rtspsrc_setup_streams:<rtspsrc0> protocols = 0x2, protocol mask = 0x2
0:00:00.069580749 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4241:gst_rtspsrc_create_transports_string:<rtspsrc0> got transports (NULL)
0:00:00.069589744 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4260:gst_rtspsrc_create_transports_string:<rtspsrc0> adding UDP multicast
0:00:00.069598782 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4280:gst_rtspsrc_create_transports_string:<rtspsrc0> prepared transports RTP/AVP/UDP;multicast
0:00:00.069607416 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4493:gst_rtspsrc_setup_streams:<rtspsrc0> replace ports in RTP/AVP/UDP;multicast
0:00:00.069618241 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4504:gst_rtspsrc_setup_streams:<rtspsrc0> transport is now RTP/AVP/UDP;multicast
0:00:00.069629450 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff9046a0
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.3.0.117/vsip2/video'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;multicast'
 body:
RTSP response message 0x7fffff904660
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Session', value: '1463940282'
   key: 'Transport', value: 'RTP/AVP;multicast;server_port=4000-4001'
 body: length 0
0:00:00.070437360 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.070449411 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.070468007 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:4602:gst_rtspsrc_setup_streams:<rtspsrc0> stream 0x107a750 as UDP multicast
0:00:00.070481604 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2695:gst_rtspsrc_stream_configure_transport:<rtspsrc0> configuring transport for stream 0x107a750
0:00:00.070492055 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2706:gst_rtspsrc_stream_configure_transport:<rtspsrc0> setting mime to application/x-rtp
0:00:00.070501995 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2180:gst_rtspsrc_stream_configure_manager:<rtspsrc0> using manager gstrtpbin
0:00:00.071447854 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2218:gst_rtspsrc_stream_configure_manager:<rtspsrc0> connect to signals on session manager, stream 0x107a750
0:00:00.072538488 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2017:new_session_pad:<rtspsrc0> got new session pad <rtpbin0:recv_rtp_sink_0>
0:00:00.072561970 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2072:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:00.072744660 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2017:new_session_pad:<rtspsrc0> got new session pad <rtpbin0:recv_rtcp_sink_0>
0:00:00.072766242 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2072:new_session_pad:<rtspsrc0> ignoring unknown stream
0:00:00.072779361 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2388:gst_rtspsrc_stream_configure_mcast:<rtspsrc0> creating UDP sources for multicast
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.073161814 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5599:gst_rtspsrc_change_state:<rtspsrc0> PAUSED->PLAYING: stop connection flush
0:00:00.073223697 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3520:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:00.073342241 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5287:gst_rtspsrc_play:<rtspsrc0> PLAY...
0:00:00.073423502 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5300:gst_rtspsrc_play:<rtspsrc0> wait for connection idle
0:00:00.073440125 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5302:gst_rtspsrc_play:<rtspsrc0> connection is idle now
0:00:00.073449225 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5305:gst_rtspsrc_play:<rtspsrc0> stop connection flush
0:00:00.073462452 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff904920
 request line:
   method: 'PLAY'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=0-'
 body:
RTSP response message 0x7fffff9048e0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Session', value: '1463940282'
   key: 'RTP-Info', value: 'url=video;seq=47417'
 body: length 0
0:00:00.074200245 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:00.074211244 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:00.074222567 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5175:gst_rtspsrc_parse_rtpinfo:<rtspsrc0> parsing RTP-Info url=video;seq=47417
0:00:00.074232757 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5184:gst_rtspsrc_parse_rtpinfo:<rtspsrc0> parsing info url=video;seq=47417
0:00:00.074242372 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5198:gst_rtspsrc_parse_rtpinfo:<rtspsrc0> parsing field url=video
0:00:00.074252053 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5198:gst_rtspsrc_parse_rtpinfo:<rtspsrc0> parsing field seq=47417
0:00:00.074261280 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5216:gst_rtspsrc_parse_rtpinfo:<rtspsrc0> found stream 0x107a750, setting: seqbase 47417, timebase -1
0:00:00.074290682 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2862:gst_rtspsrc_configure_caps:<rtspsrc0> configuring stream caps
0:00:00.074317193 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2890:gst_rtspsrc_configure_caps:<rtspsrc0> stream 0x107a750, caps application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)245, config=(string)000001b0f5000001b509000001000000012008c49540005d4c40e4f009b875961a8a2c08902887000001b2656d347620342e352e302e3200c7ff, seqnum-base=(uint)47417, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
0:00:00.074376038 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:2893:gst_rtspsrc_configure_caps:<rtspsrc0> clear session
0:00:00.074411440 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3524:gst_rtspsrc_loop_send_cmd:<rtspsrc0> stop connection flush
New clock: GstSystemClock
0:00:00.074482908 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3328:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 59 seconds
0:00:05.873552812 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3337:gst_rtspsrc_loop_udp:<rtspsrc0> we received a server message
0:00:05.873680331 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:2981:gst_rtspsrc_handle_request:<rtspsrc0> got server request message
RTSP request message 0x42fd4e90
 request line:
   method: 'SET_PARAMETER'
   uri:    '*'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Session', value: '1463940282'
 body:
0:00:05.873954892 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:2996:gst_rtspsrc_handle_request:<rtspsrc0> replying with OK
RTSP response message 0x42fd4df0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Session', value: '1463940282'
 body: length 0
0:00:05.874281477 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3328:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 54 seconds












^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 9725337512 ns.
Setting pipeline to PAUSED ...
0:00:09.799849644 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5607:gst_rtspsrc_change_state:<rtspsrc0> state change: sending stop command
0:00:09.799874023 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3520:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:09.799947362 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3341:gst_rtspsrc_loop_udp:<rtspsrc0> got interrupted: stop connection flush
0:00:09.800022057 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3393:gst_rtspsrc_loop_udp:<rtspsrc0> we have command 2
0:00:09.800037248 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3452:gst_rtspsrc_loop_udp:<rtspsrc0> we are stopping
0:00:09.800047227 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3551:gst_rtspsrc_loop:<rtspsrc0> pausing task, reason wrong-state
0:00:09.799992746 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5425:gst_rtspsrc_pause:<rtspsrc0> PAUSE...
0:00:09.800147107 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5435:gst_rtspsrc_pause:<rtspsrc0> wait for connection idle
0:00:09.800161309 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5437:gst_rtspsrc_pause:<rtspsrc0> connection is idle now
0:00:09.800170792 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5443:gst_rtspsrc_pause:<rtspsrc0> stop connection flush
0:00:09.800187246 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff904940
 request line:
   method: 'PAUSE'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
 body:
RTSP response message 0x7fffff904900
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Session', value: '1463940282'
 body: length 0
0:00:09.800914073 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:09.800926061 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:09.800943006 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5458:gst_rtspsrc_pause:<rtspsrc0> starting idle task again
0:00:09.800952762 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3524:gst_rtspsrc_loop_send_cmd:<rtspsrc0> stop connection flush
0:00:09.800986462 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3328:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 59 seconds
Setting pipeline to READY ...
0:00:09.801146637 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5607:gst_rtspsrc_change_state:<rtspsrc0> state change: sending stop command
0:00:09.801169870 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3520:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:09.801195197 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3341:gst_rtspsrc_loop_udp:<rtspsrc0> got interrupted: stop connection flush
0:00:09.801213891 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3393:gst_rtspsrc_loop_udp:<rtspsrc0> we have command 2
0:00:09.801223870 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3452:gst_rtspsrc_loop_udp:<rtspsrc0> we are stopping
0:00:09.801233013 11966      0x11caa00 DEBUG                rtspsrc gstrtspsrc.c:3551:gst_rtspsrc_loop:<rtspsrc0> pausing task, reason wrong-state
0:00:09.801361651 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5061:gst_rtspsrc_close:<rtspsrc0> TEARDOWN...
0:00:09.801378849 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3520:gst_rtspsrc_loop_send_cmd:<rtspsrc0> start connection flush
0:00:09.801427465 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5091:gst_rtspsrc_close:<rtspsrc0> stop connection flush
0:00:09.801446744 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3866:gst_rtspsrc_try_send:<rtspsrc0> sending message
RTSP request message 0x7fffff904930
 request line:
   method: 'TEARDOWN'
   uri:    'rtsp://10.3.0.117/vsip2'
   version: '1.0'
 headers:
 body:
RTSP response message 0x7fffff9048f0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '6'
   key: 'Session', value: '1463940282'
 body: length 0
0:00:09.802136440 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3895:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:09.802148810 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:3906:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:09.802162338 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:5124:gst_rtspsrc_close:<rtspsrc0> closing connection...
0:00:09.802208576 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:1039:gst_rtspsrc_cleanup:<rtspsrc0> cleanup
0:00:09.802223487 11966      0x1007080 DEBUG                rtspsrc gstrtspsrc.c:986:gst_rtspsrc_stream_free:<rtspsrc0> free stream 0x107a750
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 3 Marc Leeman 2010-05-07 08:36:52 UTC
yep, the data is arriving at:
[mleeman@bane ~]$ gst-launch udpsrc uri=udp://226.255.0.117:4000  ! fakesink dump=1
Comment 4 Wim Taymans 2010-05-07 09:08:36 UTC
The server uses the 'server_port' attribute to specify the multicast port pair while it should use the 'port' attribute.
Comment 5 Marc Leeman 2010-05-07 09:23:39 UTC
So the SDP value from port is overruled by the later RTSP SETUP reply?
   key: 'Transport', value: 'RTP/AVP;multicast;server_port=4000-4001'
Comment 6 Wim Taymans 2010-05-07 09:31:58 UTC
This should work around this server bug.

commit 05352d7ea8d4f7b4b4827e6f57ee52ed68d3ecd6
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri May 7 11:28:36 2010 +0200

    rtspsrc: handle servers that send broken Transports
    
    Handle servers that send their port pairs with the wrong name.
    
    Fixes #617537
Comment 7 Wim Taymans 2010-05-07 09:34:51 UTC
(In reply to comment #5)
> So the SDP value from port is overruled by the later RTSP SETUP reply?
>    key: 'Transport', value: 'RTP/AVP;multicast;server_port=4000-4001'

Good point.. I didn't notice that the SDP has a port value too here.
Comment 8 Wim Taymans 2010-05-07 10:54:56 UTC
OK, this is not so much a hack and should make this work too.

commit db3c4e7f467db32acb3351935189cd3f3d071eba
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri May 7 12:51:05 2010 +0200

    rtspsrc: fall back to SDP ports instead of server_port
    
    In multicast, fall back to the ports in the SDP instead of the server_port
    attribute as this is more in line with the RFC.