[Bug 654464] udpsrc conflict with rtsp and multicast due to two-phase setup

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 12 04:46:58 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=654464
  GStreamer | gst-plugins-good | 0.10.29

--- Comment #2 from Marc Leeman <marc.leeman at gmail.com> 2011-07-12 11:46:51 UTC ---
When the second encoder is started with:
GST_DEBUG_NO_COLOR=1 GST_DEBUG=*udpsrc*:5 gst-launch rtspsrc
location=rtsp://10.3.0.171:7070 protocols=2 port-range=5000-5005 debug=1 !
fakesink

Setting pipeline to PAUSED ...
RTSP request message 0x7fff90c75de0
 request line:
   method: 'OPTIONS'
   uri: 'rtsp://10.3.0.171:7070/'
   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 0x7fff90c75da0
 status line:
   code: '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Date', value: 'Tue, Jul 12 2011 11:13:43 GMT'
   key: 'Public', value: 'OPTIONS'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'TEARDOWN'
 body: length 0
RTSP request message 0x7fff90c75de0
 request line:
   method: 'DESCRIBE'
   uri: 'rtsp://10.3.0.171:7070/'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7fff90c75da0
 status line:
   code: '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Date', value: 'Tue, Jul 12 2011 11:13:43 GMT'
   key: 'Content-Base', value: 'rtsp://10.3.0.171:7070/'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Length', value: '436'
 body: length 437
00000000 (0x2675b40): 76 3d 30 0d 0a 6f 3d 2d 20 31 33 31 30 34 36 39 v=0..o=-
1310469
00000010 (0x2675b50): 32 32 33 30 30 39 36 33 35 35 36 20 31 20 49 4e
22300963556 1 IN
00000020 (0x2675b60): 20 49 50 34 20 32 32 36 2e 32 35 35 2e 30 2e 31 IP4
226.255.0.1
00000030 (0x2675b70): 37 31 0d 0a 73 3d 53 65 73 73 69 6f 6e 20 73 74
71..s=Session st
00000040 (0x2675b80): 72 65 61 6d 65 64 20 62 79 20 52 54 50 2f 52 54 reamed by
RTP/RT
00000050 (0x2675b90): 53 50 20 73 65 72 76 65 72 0d 0a 69 3d 41 43 54 SP
server..i=ACT
00000060 (0x2675ba0): 69 2e 43 4f 4d 20 53 74 72 65 61 6d 69 6e 67 20 i.COM
Streaming
00000070 (0x2675bb0): 4d 65 64 69 61 20 76 0d 0a 74 3d 30 20 30 0d 0a Media
v..t=0 0..
00000080 (0x2675bc0): 61 3d 74 6f 6f 6c 3a 41 43 54 69 2e 43 4f 4d 20
a=tool:ACTi.COM
00000090 (0x2675bd0): 53 74 72 65 61 6d 69 6e 67 20 4d 65 64 69 61 20 Streaming
Media
000000a0 (0x2675be0): 76 32 30 30 36 2e 31 30 2e 32 32 0d 0a 61 3d 74
v2006.10.22..a=t
000000b0 (0x2675bf0): 79 70 65 3a 62 72 6f 61 64 63 61 73 74 0d 0a 61
ype:broadcast..a
000000c0 (0x2675c00): 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a 61 3d 72 61
=control:*..a=ra
000000d0 (0x2675c10): 6e 67 65 3a 6e 74 70 3d 30 2d 0d 0a 6d 3d 76 69
nge:ntp=0-..m=vi
000000e0 (0x2675c20): 64 65 6f 20 35 30 30 30 20 52 54 50 2f 41 56 50 deo 5000
RTP/AVP
000000f0 (0x2675c30): 20 39 36 0d 0a 63 3d 49 4e 20 49 50 34 20 32 32 96..c=IN
IP4 22
00000100 (0x2675c40): 36 2e 32 35 35 2e 30 2e 31 37 31 0d 0a 61 3d 72
6.255.0.171..a=r
00000110 (0x2675c50): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 tpmap:96
MP4V-ES
00000120 (0x2675c60): 2f 39 30 30 30 30 0d 0a 61 3d 66 6d 74 70 3a 39
/90000..a=fmtp:9
00000130 (0x2675c70): 36 20 70 72 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 6
profile-level-
00000140 (0x2675c80): 69 64 3d 32 34 35 3b 63 6f 6e 66 69 67 3d 30 30
id=245;config=00
00000150 (0x2675c90): 30 30 30 31 42 30 30 33 30 30 30 30 30 31 42 35
0001B003000001B5
00000160 (0x2675ca0): 30 39 30 30 30 30 30 31 30 30 30 30 30 30 30 31
0900000100000001
00000170 (0x2675cb0): 32 30 30 30 38 36 43 34 30 30 36 37 30 43 35 41
200086C400670C5A
00000180 (0x2675cc0): 31 31 32 30 35 31 38 46 30 30 30 30 30 31 42 33
1120518F000001B3
00000190 (0x2675cd0): 30 30 31 30 30 37 30 30 30 30 30 31 42 36 0d 0a
001007000001B6..
000001a0 (0x2675ce0): 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 63 6b 31
a=control:track1
000001b0 (0x2675cf0): 0d 0a 0d 0a 00 .....
sdp packet 0x2675f30:
 version: '0'
 origin:
  username: '-'
  sess_id: '131046922300963556'
  sess_version: '1'
  nettype: 'IN'
  addrtype: 'IP4'
  addr: '226.255.0.171'
 session_name: 'Session streamed by RTP/RTSP server'
 information: 'ACTi.COM Streaming Media v'
 uri: '(NULL)'
 connection:
  nettype: '(NULL)'
  addrtype: '(NULL)'
  address: '(NULL)'
  ttl: '0'
  addr_number: '0'
 key:
  type: '(NULL)'
  data: '(NULL)'
 attributes:
  attribute 'tool' : 'ACTi.COM Streaming Media v2006.10.22'
  attribute 'type' : 'broadcast'
  attribute 'control' : '*'
  attribute 'range' : 'ntp=0-'
 medias:
  media 0:
   media: 'video'
   port: '5000'
   num_ports: '4294967295'
   proto: 'RTP/AVP'
   formats:
    format '96'
   information: '(NULL)'
   connections:
    nettype: 'IN'
    addrtype: 'IP4'
    address: '226.255.0.171'
    ttl: '0'
    addr_number: '0'
   key:
    type: '(NULL)'
    data: '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'fmtp' : '96
profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C5A1120518F000001B3001007000001B6'
    attribute 'control' : 'track1'
0:00:00.127953443 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:784:gst_udpsrc_start:<udpsrc0> allocating socket for 0.0.0.0:5000
0:00:00.128229858 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:795:gst_udpsrc_start:<udpsrc0> got socket 8
0:00:00.128269443 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:797:gst_udpsrc_start:<udpsrc0> setting reuse 0
0:00:00.128306492 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:804:gst_udpsrc_start:<udpsrc0> binding on port 5000
0:00:00.128387183 24468 0x248d080 WARN udpsrc
gstudpsrc.c:945:gst_udpsrc_start:<udpsrc0> error: bind failed -1: Address
already in use (98)
0:00:00.129343393 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:784:gst_udpsrc_start:<udpsrc1> allocating socket for 0.0.0.0:5002
0:00:00.129582886 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:795:gst_udpsrc_start:<udpsrc1> got socket 8
0:00:00.129687817 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:797:gst_udpsrc_start:<udpsrc1> setting reuse 0
0:00:00.129725407 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:804:gst_udpsrc_start:<udpsrc1> binding on port 5002
0:00:00.129807395 24468 0x248d080 WARN udpsrc
gstudpsrc.c:945:gst_udpsrc_start:<udpsrc1> error: bind failed -1: Address
already in use (98)
0:00:00.130703703 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:784:gst_udpsrc_start:<udpsrc2> allocating socket for 0.0.0.0:5004
0:00:00.130932081 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:795:gst_udpsrc_start:<udpsrc2> got socket 8
0:00:00.130969783 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:797:gst_udpsrc_start:<udpsrc2> setting reuse 0
0:00:00.131005947 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:804:gst_udpsrc_start:<udpsrc2> binding on port 5004
0:00:00.131047886 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:853:gst_udpsrc_start:<udpsrc2> setting udp buffer of 524288 bytes
0:00:00.131086503 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:873:gst_udpsrc_start:<udpsrc2> have udp buffer of 262142 bytes
0:00:00.131125052 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:906:gst_udpsrc_start:<udpsrc2> bound, on port 5004
0:00:00.131232645 24468 0x248d080 LOG udpsrc
gstudpsrc.c:992:gst_udpsrc_unlock_stop:<udpsrc2> No longer flushing
0:00:00.132447495 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:784:gst_udpsrc_start:<udpsrc3> allocating socket for 0.0.0.0:5005
0:00:00.132750114 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:795:gst_udpsrc_start:<udpsrc3> got socket 11
0:00:00.132790861 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:797:gst_udpsrc_start:<udpsrc3> setting reuse 0
0:00:00.132828855 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:804:gst_udpsrc_start:<udpsrc3> binding on port 5005
0:00:00.132931236 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:873:gst_udpsrc_start:<udpsrc3> have udp buffer of 126976 bytes
0:00:00.132972890 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:906:gst_udpsrc_start:<udpsrc3> bound, on port 5005
0:00:00.133060121 24468 0x248d080 LOG udpsrc
gstudpsrc.c:992:gst_udpsrc_unlock_stop:<udpsrc3> No longer flushing
RTSP request message 0x7fff90c75c10
 request line:
   method: 'SETUP'
   uri: 'rtsp://10.3.0.171:7070/track1'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP;multicast;client_port=5004-5005'
 body:
RTSP response message 0x7fff90c75bd0
 status line:
   code: '404'
   reason: 'Stream Not Found'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Tue, Jul 12 2011 11:13:43 GMT'
 body: length 0
0:00:00.155046443 24468 0x248d080 LOG udpsrc
gstudpsrc.c:979:gst_udpsrc_unlock:<udpsrc2> Flushing
0:00:00.155091225 24468 0x248d080 LOG udpsrc
gstudpsrc.c:992:gst_udpsrc_unlock_stop:<udpsrc2> No longer flushing
0:00:00.155266107 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:1005:gst_udpsrc_stop: stopping, closing sockets
0:00:00.155543287 24468 0x248d080 LOG udpsrc
gstudpsrc.c:979:gst_udpsrc_unlock:<udpsrc3> Flushing
0:00:00.155586179 24468 0x248d080 LOG udpsrc
gstudpsrc.c:992:gst_udpsrc_unlock_stop:<udpsrc3> No longer flushing
0:00:00.155774606 24468 0x248d080 DEBUG udpsrc
gstudpsrc.c:1005:gst_udpsrc_stop: stopping, closing sockets
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not write
to resource.
Additional debug info:
gstrtspsrc.c(5184): gst_rtspsrc_setup_streams ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Error (404): Not Found
Setting pipeline to NULL ...
Freeing pipeline ...

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