GNOME Bugzilla – Bug 589489
gst-rtsp-server:crashed
Last modified: 2009-07-24 13:36:42 UTC
Hi, I set up the gst-rtsp as the streaming server with port as 80.And used the realone player as the streaming client..Client tried for TCP connection in wan but the gst-rtp server got crashed!!! .Following is the log in server side. ** Message: listening on port 80 ** Message: added new client 0x81be2f0 ip 114.143.222.36:60190 ** Message: attaching to context 0x81bb248 RTSP request message 0x82ac08c request line: method: 'OPTIONS' uri: 'rtsp://carinov.dyndns.biz:80' version: '1.0' headers: key: 'CSeq', value: '1' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Supported', value: 'ABD-1.0' key: 'ClientChallenge', value: '5103f5143fc70aaca4f1205914c8430f' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'CompanyID', value: 'GESIEDtQhMtEOsfFgdik+w==' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'PlayerStarttime', value: '[23/07/2009:17:52:08 05:00]' key: 'RegionData', value: '0' body: ** Message: client 0x81be2f0: received a request RTSP response message 0xbfcaec04 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '1' key: 'Public', value: 'OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x81be2f0: sent a message with cseq 1 RTSP request message 0x82ac08c request line: method: 'DESCRIBE' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '2' key: 'Accept', value: 'application/sdp' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Bandwidth', value: '1618928' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'Language', value: 'en, *' key: 'RegionData', value: '0' key: 'Require', value: 'com.real.retain-entity-for-setup' key: 'SupportsMaximumASMBandwidth', value: '1' body: ** Message: client 0x81be2f0: received a request ** Message: found media 0x81e3c40 for url abspath /test.mp4 ** Message: enter mainloop ** Message: found stream 0 with payloader 0x82e60e8 ** Message: found stream 1 with payloader 0x82ea0d0 ** Message: constructed media 0x82ee038 for url /test.mp4 ** Message: preparing media 0x82ee038 ** Message: 0x82ee038: got message type tag ** Message: 0x82ee038: got message type tag ** Message: 0x82ee038: got message type tag ** Message: stream 0x82efda0 received caps 0x8341080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3365720402, payload=(int)97, clock-base=(guint)1381310334, seqnum-base=(guint)52507 ** Message: stream 0x82efda0 received caps 0x8341080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3365720402, payload=(int)97, clock-base=(guint)1381310334, seqnum-base=(guint)52507 ** Message: stream 0x82ede00 received caps 0x8330780, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)2466350439, payload=(int)96, clock-base=(guint)3798182893, seqnum-base=(guint)52588 ** Message: stream 0x82ede00 received caps 0x8330780, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)2466350439, payload=(int)96, clock-base=(guint)3798182893, seqnum-base=(guint)52588 ** Message: 0x82ee038: got message type async-done ** Message: stats: position 0:00:00.000000000, duration 0:00:31.533333333 ** Message: object 0x82ee038 is prerolled RTSP response message 0xbfcaebb0 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://carinov.dyndns.biz:80/test.mp4/' key: 'Server', value: 'GStreamer RTSP server' body: length 577 00000000 (0x8351798): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30 v=0..o=- 1188340 00000010 (0x83517a8): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49 656180883 1 IN I 00000020 (0x83517b8): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d P4 127.0.0.1..s= 00000030 (0x83517c8): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64 Session streamed 00000040 (0x83517d8): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d with GStreamer. 00000050 (0x83517e8): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a .i=rtsp-server.. 00000060 (0x83517f8): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61 e=NONE..t=0 0..a 00000070 (0x8351808): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d =tool:GStreamer. 00000080 (0x8351818): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73 .a=type:broadcas 00000090 (0x8351828): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 t..a=range:npt=0 000000a0 (0x8351838): 2e 30 30 30 30 30 30 2d 33 31 2e 35 33 33 33 33 .000000-31.53333 000000b0 (0x8351848): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 3..m=video 0 RTP 000000c0 (0x8351858): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 /AVP 96..c=IN IP 000000d0 (0x8351868): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72 4 127.0.0.1..a=r 000000e0 (0x8351878): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 tpmap:96 MP4V-ES 000000f0 (0x8351888): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f /90000..a=contro 00000100 (0x8351898): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d l:stream=0..a=fm 00000110 (0x83518a8): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 tp:96 profile-le 00000120 (0x83518b8): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d vel-id=1;config= 00000130 (0x83518c8): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31 000001b001000001 00000140 (0x83518d8): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30 b589130000010000 00000150 (0x83518e8): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30 00012000c48d8800 00000160 (0x83518f8): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a 6d 3d f50a041e1463..m= 00000170 (0x8351908): 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20 audio 0 RTP/AVP 00000180 (0x8351918): 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 31 32 37 97..c=IN IP4 127 00000190 (0x8351928): 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70 6d 61 70 .0.0.1..a=rtpmap 000001a0 (0x8351938): 3a 39 37 20 4d 50 45 47 34 2d 47 45 4e 45 52 49 :97 MPEG4-GENERI 000001b0 (0x8351948): 43 2f 38 30 30 30 2f 31 0d 0a 61 3d 63 6f 6e 74 C/8000/1..a=cont 000001c0 (0x8351958): 72 6f 6c 3a 73 74 72 65 61 6d 3d 31 0d 0a 61 3d rol:stream=1..a= 000001d0 (0x8351968): 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d 74 79 fmtp:97 streamty 000001e0 (0x8351978): 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 pe=5;profile-lev 000001f0 (0x8351988): 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41 41 43 el-id=1;mode=AAC 00000200 (0x8351998): 2d 68 62 72 3b 63 6f 6e 66 69 67 3d 30 64 38 38 -hbr;config=0d88 00000210 (0x83519a8): 3b 73 69 7a 65 6c 65 6e 67 74 68 3d 31 33 3b 69 ;sizelength=13;i 00000220 (0x83519b8): 6e 64 65 78 6c 65 6e 67 74 68 3d 33 3b 69 6e 64 ndexlength=3;ind 00000230 (0x83519c8): 65 78 64 65 6c 74 61 6c 65 6e 67 74 68 3d 33 0d exdeltalength=3. 00000240 (0x83519d8): 0a . ** Message: client 0x81be2f0: sent a message with cseq 2 RTSP request message 0x82ac08c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=0' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' body: ** Message: client 0x81be2f0: received a request ** Message: reusing cached media 0x82ee038 ** Message: manage new media 0x82ee038 in session 0x83510c8 RTSP response message 0xbfcaeb94 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'jiwhnllfisatvpvx' body: length 0 ** Message: client 0x81be2f0: sent a message with cseq 3 RTSP request message 0x82ac08c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=1' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'jiwhnllfisatvpvx' body: ** Message: client 0x81be2f0: received a request ** Message: watching session 0x8322390 RTSP response message 0xbfcaeb94 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'jiwhnllfisatvpvx' body: length 0 ** Message: client 0x81be2f0: sent a message with cseq 4 RTSP request message 0x82ac08c request line: method: 'SET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Subscribe', value: 'stream=0;rule=0,stream=0;rule=1,stream=1;rule=0,stream=1;rule=1' key: 'Session', value: 'jiwhnllfisatvpvx' body: ** Message: client 0x81be2f0: received a request RTSP response message 0xbfcaea90 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x81be2f0: sent a message with cseq 5 RTSP request message 0x82ac08c request line: method: 'PLAY' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '6' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'jiwhnllfisatvpvx' key: 'Range', value: 'npt=0-31.533000' key: 'Bandwidth', value: '1618928' body: ** Message: client 0x81be2f0: received a request ** Message: test1 ** Message: test3 ** Message: test3: start=-1 ** Message: test5 ** Message: test5 stop has a diff val ** Message: test6 ** Message: no seek needed RTSP response message 0xbfcaeb78 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '6' key: 'RTP-Info', value: 'url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=0;seq=52588;rtptime=3798182893, url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=1;seq=52507;rtptime=1381310334' key: 'Range', value: 'npt=0.000000-31.533333' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'jiwhnllfisatvpvx' body: length 0 ** Message: going to state PLAYING media 0x82ee038 ** Message: adding TCP 114.143.222.36 ** Message: adding TCP 114.143.222.36 ** Message: active 2 media 0x82ee038 ** Message: state PLAYING media 0x82ee038 ** Message: 0x82ee038: got message type new-clock ** Message: client 0x81be2f0: sent a message with cseq 6 RTSP request message 0x82ac08c request line: method: 'TEARDOWN' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '7' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'jiwhnllfisatvpvx' body: ** Message: client 0x81be2f0: received a request ** Message: going to state NULL media 0x82ee038 ** Message: removing TCP 114.143.222.36 ** Message: removing TCP 114.143.222.36 ** Message: active 0 media 0x82ee038 ** Message: unprepare media 0x82ee038 ** Message: stream 0x82efda0 received caps (nil), NULL ** Message: stream 0x82ede00 received caps (nil), NULL ** Message: free session media 0x83510c8 ** Message: going to state NULL media 0x82ee038 ** Message: active 0 media 0x82ee038 ** Message: free session stream 0x82ac180 ** Message: free session stream 0x8352888 RTSP response message 0xbfcaeb40 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'jiwhnllfisatvpvx' body: length 0 ** Message: finalize session 0x8322390 ** Message: client 0x81be2f0: received an error System error: Connection reset by peer ** Message: finalize client 0x81be2f0 ** Message: finalize media 0x82ee038 ** Message: added new client 0x83074c0 ip 114.143.222.36:61214 ** Message: attaching to context 0x81bb248 ** Message: client 0x83074c0: tunnel start ** Message: client 0x83074c0: inserting (null) Segmentation fault
- could you please provide a stack trace of the crash using a debugger such as gdb? - what version of gst-rtsp-server is this? (git?) - what versions of core/gst-plugins-base are you using?
gst-rtsp-server and gst-plugins-base are from git repository The following is what get from gdb...can't make a stacktrace gdb .libs/test-mp4 core.8417 GNU gdb Fedora (6.8-1.fc9) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... warning: Can't read pathname for load map: Input/output error. Cannot access memory at address 0xb7fcd0c8 Can't read pathname for load map: Input/output error. Cannot access memory at address 0xb7fcd0c8
> The following is what get from gdb...can't make a stacktrace > > gdb .libs/test-mp4 core.8417 Tried gdb .libs/lt-test-mp4 core.8417 ?
Starting program: /usr/local/repository_Src/gst-rtsp-server_july2009/examples/.libs/test-mp4 video.mp4 [Thread debugging using libthread_db enabled] [New Thread 0xb7f35710 (LWP 24189)] [Switching to Thread 0xb7f35710 (LWP 24189)] Breakpoint 1, main (argc=14101884, argv=0xc2434a) at test-mp4.c:42 42 { (gdb) n main (argc=14101884, argv=0xc2434a) at test-mp4.c:49 49 gst_init (&argc, &argv); (gdb) n 42 { (gdb) n 49 gst_init (&argc, &argv); (gdb) n Detaching after fork from child process 24217. 0:00:00.085072964 24217 0x9a12498 ERROR pyplugin gstpythonplugin.c:267:pygst_require: the pygst module is not available! ImportError: No module named pygst 51 if (argc < 2) { (gdb) n 56 loop = g_main_loop_new (NULL, FALSE); (gdb) n 59 server = gst_rtsp_server_new (); (gdb) n 60 gst_rtsp_server_set_port(server,80); (gdb) n 59 server = gst_rtsp_server_new (); (gdb) n 60 gst_rtsp_server_set_port(server,80); (gdb) n 63 mapping = gst_rtsp_server_get_media_mapping (server); (gdb) n 84 factory = gst_rtsp_media_factory_new (); (gdb) n 107 gst_rtsp_media_factory_set_launch (factory, "( " (gdb) n 84 factory = gst_rtsp_media_factory_new (); (gdb) n 107 gst_rtsp_media_factory_set_launch (factory, "( " (gdb) n 121 gst_rtsp_media_mapping_add_factory (mapping, "/test.mp4", factory); (gdb) n 124 g_object_unref (mapping); (gdb) n 127 gst_rtsp_server_attach (server, NULL); (gdb) n ** Message: listening on port 80 130 g_main_loop_run (loop); (gdb) n n n ** Message: added new client 0x9a182f0 ip 114.143.222.36:13369 ** Message: attaching to context 0x9a15248 RTSP request message 0x9b060cc request line: method: 'OPTIONS' uri: 'rtsp://carinov.dyndns.biz:80' version: '1.0' headers: key: 'CSeq', value: '1' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Supported', value: 'ABD-1.0' key: 'ClientChallenge', value: '2e996e58b6d3f03126736e490aeaae76' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'CompanyID', value: 'GsoN2ZfOhR9rMyRYcW/3uQ==' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'PlayerStarttime', value: '[24/07/2009:14:56:33 05:00]' key: 'RegionData', value: '0' body: ** Message: client 0x9a182f0: received a request RTSP response message 0xbfc553a4 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '1' key: 'Public', value: 'OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x9a182f0: sent a message with cseq 1 RTSP request message 0x9b060cc request line: method: 'DESCRIBE' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '2' key: 'Accept', value: 'application/sdp' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Bandwidth', value: '1618928' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'Language', value: 'en, *' key: 'RegionData', value: '0' key: 'Require', value: 'com.real.retain-entity-for-setup' key: 'SupportsMaximumASMBandwidth', value: '1' body: ** Message: client 0x9a182f0: received a request ** Message: found media 0x9a3dc40 for url abspath /test.mp4 Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstcoreelements.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/99/9954a25a1d0bdbafb8383ce16b64a24876e8e1 Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstqtdemux.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/56/7c77c8e466685422a43eebe75e3b9cc7d5a878 Missing separate debuginfo for /usr/local/lib/libgsttag-0.10.so.0 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/2b/e87d3ba80475fa65644e20eb741f6681803449 Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstrtp.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/5f/16a09c5c1cb8878be5681ad2e8e7e2cf3092dc Missing separate debuginfo for /usr/local/lib/libgstaudio-0.10.so.0 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/91/d5f7a092a6489d8d67bb14f0829d3d05f0a045 Missing separate debuginfo for /usr/local/lib/libgstinterfaces-0.10.so.0 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/93/3175b7898ad752e9782c90576eae7fe9361352 [New Thread 0xb7d33b90 (LWP 24274)] ** Message: enter mainloop ** Message: found stream 0 with payloader 0x9b400e8 ** Message: found stream 1 with payloader 0x9b440d0 ** Message: constructed media 0x9b47c38 for url /test.mp4 ** Message: preparing media 0x9b47c38 Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstrtpmanager.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/4a/bba6ed3dc1cf06ecdc1e4d89329e83f59dbd40 Missing separate debuginfo for /usr/local/lib/libgstnetbuffer-0.10.so.0 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d6/94a18acdcb7f549febf43100cf3d753d1802ae Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstudp.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/f9/f2039d8ab7e75336a38eb092667838daf7ec02 [New Thread 0xb7332b90 (LWP 24275)] [New Thread 0xb6931b90 (LWP 24276)] Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstapp.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/2e/2a907db65079e48026081579ec329ab866fd9d Missing separate debuginfo for /usr/local/lib/gstreamer-0.10/libgstselector.so Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/96/7cd28c216ccfacf78469deda4bb64c1fe618fa [New Thread 0xb5f30b90 (LWP 24277)] [New Thread 0xb552fb90 (LWP 24278)] [New Thread 0xb4b2eb90 (LWP 24279)] [New Thread 0xb412db90 (LWP 24280)] [New Thread 0xb372cb90 (LWP 24281)] ** Message: 0x9b47c38: got message type tag ** Message: 0x9b47c38: got message type tag ** Message: 0x9b47c38: got message type tag ** Message: stream 0x9b49e50 received caps 0x9b9b080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)530934552, payload=(int)97, clock-base=(guint)960938440, seqnum-base=(guint)61765 ** Message: stream 0x9b49e50 received caps 0x9b9b080, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)530934552, payload=(int)97, clock-base=(guint)960938440, seqnum-base=(guint)61765 ** Message: stream 0x9b48448 received caps 0x9b8a380, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)4193406827, payload=(int)96, clock-base=(guint)131549388, seqnum-base=(guint)40623 ** Message: stream 0x9b48448 received caps 0x9b8a380, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)4193406827, payload=(int)96, clock-base=(guint)131549388, seqnum-base=(guint)40623 [New Thread 0xb2d2bb90 (LWP 24282)] [New Thread 0xb232ab90 (LWP 24283)] [New Thread 0xb1929b90 (LWP 24284)] [New Thread 0xb0f28b90 (LWP 24285)] ** Message: 0x9b47c38: got message type async-done ** Message: stats: position 0:00:00.000000000, duration 0:00:31.533333333 ** Message: object 0x9b47c38 is prerolled RTSP response message 0xbfc55350 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://carinov.dyndns.biz:80/test.mp4/' key: 'Server', value: 'GStreamer RTSP server' body: length 577 00000000 (0x9bab630): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30 v=0..o=- 1188340 00000010 (0x9bab640): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49 656180883 1 IN I 00000020 (0x9bab650): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d P4 127.0.0.1..s= 00000030 (0x9bab660): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64 Session streamed 00000040 (0x9bab670): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d with GStreamer. 00000050 (0x9bab680): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a .i=rtsp-server.. 00000060 (0x9bab690): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61 e=NONE..t=0 0..a 00000070 (0x9bab6a0): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d =tool:GStreamer. 00000080 (0x9bab6b0): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73 .a=type:broadcas 00000090 (0x9bab6c0): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 t..a=range:npt=0 000000a0 (0x9bab6d0): 2e 30 30 30 30 30 30 2d 33 31 2e 35 33 33 33 33 .000000-31.53333 000000b0 (0x9bab6e0): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 3..m=video 0 RTP 000000c0 (0x9bab6f0): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 /AVP 96..c=IN IP 000000d0 (0x9bab700): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72 4 127.0.0.1..a=r 000000e0 (0x9bab710): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 tpmap:96 MP4V-ES 000000f0 (0x9bab720): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f /90000..a=contro 00000100 (0x9bab730): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d l:stream=0..a=fm 00000110 (0x9bab740): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 tp:96 profile-le 00000120 (0x9bab750): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d vel-id=1;config= 00000130 (0x9bab760): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31 000001b001000001 00000140 (0x9bab770): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30 b589130000010000 00000150 (0x9bab780): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30 00012000c48d8800 00000160 (0x9bab790): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a 6d 3d f50a041e1463..m= 00000170 (0x9bab7a0): 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20 audio 0 RTP/AVP 00000180 (0x9bab7b0): 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 31 32 37 97..c=IN IP4 127 00000190 (0x9bab7c0): 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70 6d 61 70 .0.0.1..a=rtpmap 000001a0 (0x9bab7d0): 3a 39 37 20 4d 50 45 47 34 2d 47 45 4e 45 52 49 :97 MPEG4-GENERI 000001b0 (0x9bab7e0): 43 2f 38 30 30 30 2f 31 0d 0a 61 3d 63 6f 6e 74 C/8000/1..a=cont 000001c0 (0x9bab7f0): 72 6f 6c 3a 73 74 72 65 61 6d 3d 31 0d 0a 61 3d rol:stream=1..a= 000001d0 (0x9bab800): 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d 74 79 fmtp:97 streamty 000001e0 (0x9bab810): 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 pe=5;profile-lev 000001f0 (0x9bab820): 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41 41 43 el-id=1;mode=AAC 00000200 (0x9bab830): 2d 68 62 72 3b 63 6f 6e 66 69 67 3d 30 64 38 38 -hbr;config=0d88 00000210 (0x9bab840): 3b 73 69 7a 65 6c 65 6e 67 74 68 3d 31 33 3b 69 ;sizelength=13;i 00000220 (0x9bab850): 6e 64 65 78 6c 65 6e 67 74 68 3d 33 3b 69 6e 64 ndexlength=3;ind 00000230 (0x9bab860): 65 78 64 65 6c 74 61 6c 65 6e 67 74 68 3d 33 0d exdeltalength=3. 00000240 (0x9bab870): 0a . ** Message: client 0x9a182f0: sent a message with cseq 2 RTSP request message 0x9b060cc request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=0' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' body: ** Message: client 0x9a182f0: received a request ** Message: reusing cached media 0x9b47c38 ** Message: manage new media 0x9b47c38 in session 0x9ba73c0 RTSP response message 0xbfc55334 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'kegkolwrhlbbuuas' body: length 0 ** Message: client 0x9a182f0: sent a message with cseq 3 RTSP request message 0x9b060cc request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=1' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'kegkolwrhlbbuuas' body: ** Message: client 0x9a182f0: received a request ** Message: watching session 0x9b7c390 RTSP response message 0xbfc55334 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'kegkolwrhlbbuuas' body: length 0 ** Message: client 0x9a182f0: sent a message with cseq 4 RTSP request message 0x9b060cc request line: method: 'SET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Subscribe', value: 'stream=0;rule=0,stream=0;rule=1,stream=1;rule=0,stream=1;rule=1' key: 'Session', value: 'kegkolwrhlbbuuas' body: ** Message: client 0x9a182f0: received a request RTSP response message 0xbfc55230 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x9a182f0: sent a message with cseq 5 RTSP request message 0x9b060cc request line: method: 'PLAY' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '6' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'kegkolwrhlbbuuas' key: 'Range', value: 'npt=0-31.533000' key: 'Bandwidth', value: '1618928' body: ** Message: client 0x9a182f0: received a request ** Message: test1 ** Message: test3 ** Message: test3: start=-1 ** Message: test5 ** Message: test5 stop has a diff val ** Message: test6 ** Message: no seek needed RTSP response message 0xbfc55318 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '6' key: 'RTP-Info', value: 'url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=0;seq=40623;rtptime=131549388, url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=1;seq=61765;rtptime=960938440' key: 'Range', value: 'npt=0.000000-31.533333' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'kegkolwrhlbbuuas' body: length 0 ** Message: going to state PLAYING media 0x9b47c38 ** Message: adding TCP 114.143.222.36 ** Message: adding TCP 114.143.222.36 ** Message: active 2 media 0x9b47c38 ** Message: state PLAYING media 0x9b47c38 ** Message: 0x9b47c38: got message type new-clock [New Thread 0xb0520b90 (LWP 24286)] [New Thread 0xafb1fb90 (LWP 24287)] ** Message: client 0x9a182f0: sent a message with cseq 6 RTSP request message 0x9b060cc request line: method: 'TEARDOWN' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '7' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'kegkolwrhlbbuuas' body: ** Message: client 0x9a182f0: received a request ** Message: going to state NULL media 0x9b47c38 ** Message: removing TCP 114.143.222.36 ** Message: removing TCP 114.143.222.36 ** Message: active 0 media 0x9b47c38 ** Message: unprepare media 0x9b47c38 [Thread 0xb0520b90 (LWP 24286) exited] [Thread 0xafb1fb90 (LWP 24287) exited] ** Message: stream 0x9b49e50 received caps (nil), NULL ** Message: stream 0x9b48448 received caps (nil), NULL ** Message: free session media 0x9ba73c0 ** Message: going to state NULL media 0x9b47c38 ** Message: active 0 media 0x9b47c38 ** Message: free session stream 0x9bac800 ** Message: free session stream 0x9baa730 RTSP response message 0xbfc552e0 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'kegkolwrhlbbuuas' body: length 0 ** Message: finalize session 0x9b7c390 ** Message: client 0x9a182f0: received an error System error: Connection reset by peer ** Message: finalize client 0x9a182f0 ** Message: finalize media 0x9b47c38 ** Message: added new client 0x9b618c0 ip 114.143.222.36:13625 ** Message: attaching to context 0x9a15248 ** Message: client 0x9b618c0: tunnel start ** Message: client 0x9b618c0: inserting (null) Program received signal SIGSEGV, Segmentation fault. IA__g_str_hash (v=<value optimized out>) at gstring.c:95 95 guint32 h = *p; (gdb) n Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) n The program is not being run. (gdb)
(gdb) bt
+ Trace 216599
Please provide the output of: (gdb) thread apply all bt (after the crash) Thanks!
thread apply all bt warning: Couldn't find general-purpose registers in core file.
+ Trace 216600
Thread 1 (process 24189)
Program received signal SIGSEGV, Segmentation fault. IA__g_str_hash (v=<value optimized out>) at gstring.c:95 95 guint32 h = *p; (gdb) thread apply all bt
+ Trace 216601
+ Trace 216602
Thread 11 (Thread 0xb24a6b90 (LWP 26250))
queue=<value optimized out>, try=<value optimized out>, ---Type <return> to continue, or q <return> to quit---
+ Trace 216603
+ Trace 216604
+ Trace 216605
+ Trace 216606
Thread 1 (Thread 0xb80b1710 (LWP 26185))
+ Trace 216608
The information i provided is enough?
I don't know what the client is doing there, it seems to be doing a GET request to open a tunnel but then id didn't provide a tunnelid.
this should fix the crash. commit daccf6bc99760e0653c1945ee4e85a96c1f149c1 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Jul 24 12:49:41 2009 +0200 client: don't crash when tunnelid is missing When a clients tries to open an HTTP tunnel but fails to provide a tunnelid, don't crash but return an error response to the client. Fixes #589489
If the streamin server is Darwin streaming server,the tunnelling is working.Only problem is too much of stucking.I think may be this is an issue related with bandwidth.
Wim,is it committed?
the segfault was gone.But still not getting the video in wan.(when the connection is tcp).But for Darwin streaming server there is no problem for realtime and vlc players.The problem arises when the streaming server is gst-rtsp-server and the client is realoneplayer. following is the log i got in the server side...... RTSP request message 0x926e08c request line: method: 'SET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Subscribe', value: 'stream=0;rule=0,stream=0;rule=1,stream=1;rule=0,stream=1;rule=1' key: 'Session', value: 'mplgmckxiugyidpi' body: ** Message: client 0x91802f0: received a request RTSP response message 0xbf820e00 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x91802f0: sent a message with cseq 5 RTSP request message 0x926e08c request line: method: 'PLAY' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '6' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'mplgmckxiugyidpi' key: 'Range', value: 'npt=0-31.533000' key: 'Bandwidth', value: '1618928' body: ** Message: client 0x91802f0: received a request ** Message: seeking to 99:99:99.999999999 - 0:00:31.533000946 ** Message: done seeking 1 ** Message: 0x92b0038: got message type async-done ** Message: prerolled again ** Message: stats: position 0:00:01.000000000, duration 0:00:31.533333333 RTSP response message 0xbf820ee8 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '6' key: 'RTP-Info', value: 'url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=0;seq=21344;rtptime=856966865, url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=1;seq=12187;rtptime=3699979200' key: 'Range', value: 'npt=1.000000-31.533333' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'mplgmckxiugyidpi' body: length 0 ** Message: going to state PLAYING media 0x92b0038 ** Message: adding TCP 114.143.222.36 ** Message: adding TCP 114.143.222.36 ** Message: active 2 media 0x92b0038 ** Message: state PLAYING media 0x92b0038 ** Message: 0x92b0038: got message type new-clock ** Message: client 0x91802f0: sent a message with cseq 6 RTSP request message 0x926e08c request line: method: 'TEARDOWN' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '7' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'mplgmckxiugyidpi' body: ** Message: client 0x91802f0: received a request ** Message: going to state NULL media 0x92b0038 ** Message: removing TCP 114.143.222.36 ** Message: removing TCP 114.143.222.36 ** Message: active 0 media 0x92b0038 ** Message: unprepare media 0x92b0038 ** Message: stream 0x92b1da0 received caps (nil), NULL ** Message: stream 0x92afe00 received caps (nil), NULL ** Message: free session media 0x93130d0 ** Message: going to state NULL media 0x92b0038 ** Message: active 0 media 0x92b0038 ** Message: free session stream 0x926e180 ** Message: free session stream 0x93148a0 RTSP response message 0xbf820eb0 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'mplgmckxiugyidpi' body: length 0 ** Message: finalize session 0x92e4390 ** Message: client 0x91802f0: received an error System error: Connection reset by peer ** Message: finalize client 0x91802f0 ** Message: finalize media 0x92b0038 ** Message: added new client 0x92c96c0 ip 114.143.222.36:59708 ** Message: attaching to context 0x917d248 ** Message: client 0x92c96c0: tunnel start ** Message: client 0x92c96c0: no tunnelid provided ** Message: added new client 0x92c96f0 ip 114.143.222.36:59964 ** Message: attaching to context 0x917d248 ** Message: client 0x92c96f0: tunnel complete ** Message: client 0x92c96f0: no tunnelid provided 0:01:02.357481818 13760 0x917a498 ERROR default gstrtspconnection.c:1480:parse_request_line: invalid method fb462105-a2b7-4b10- ** Message: client 0x92c96f0: received an error Parse error ** Message: finalize client 0x92c96f0 ** Message: added new client 0x92c9720 ip 114.143.222.36:60732 ** Message: attaching to context 0x917d248 ** Message: client 0x92c9720: tunnel start ** Message: client 0x92c9720: no tunnelid provided ** Message: added new client 0x92c9750 ip 114.143.222.36:60988 ** Message: attaching to context 0x917d248 ** Message: client 0x92c9750: tunnel complete ** Message: client 0x92c9750: no tunnelid provided 0:01:02.360726015 13760 0x917a498 ERROR default gstrtspconnection.c:1480:parse_request_line: invalid method 18047339-a3bc-46a5- ** Message: client 0x92c9750: received an error Parse error ** Message: finalize client 0x92c9750 ** Message: added new client 0x92c9780 ip 114.143.222.36:62012 ** Message: attaching to context 0x917d248 RTSP request message 0x931014c request line: method: 'OPTIONS' uri: 'rtsp://carinov.dyndns.biz:80' version: '1.0' headers: key: 'CSeq', value: '1' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Supported', value: 'ABD-1.0' key: 'ClientChallenge', value: '798d2d1e0243df4bafb776c287527e2b' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'CompanyID', value: 'vJP6aSCbYN65/hcr5wUlVw==' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'PlayerStarttime', value: '[24/07/2009:18:17:24 05:00]' key: 'RegionData', value: '0' body: ** Message: client 0x92c9780: received a request RTSP response message 0xbf820f74 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '1' key: 'Public', value: 'OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x92c9780: sent a message with cseq 1 RTSP request message 0x931014c request line: method: 'DESCRIBE' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '2' key: 'Accept', value: 'application/sdp' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Bandwidth', value: '1618928' key: 'ClientID', value: 'WinNT_5.2_6.0.14.955_RealPlayer_R41APR_en_686' key: 'GUID', value: '00000000-0000-0000-0000-000000000000' key: 'Language', value: 'en, *' key: 'RegionData', value: '0' key: 'Require', value: 'com.real.retain-entity-for-setup' key: 'SupportsMaximumASMBandwidth', value: '1' body: ** Message: client 0x92c9780: received a request ** Message: found media 0x91a5c40 for url abspath /test.mp4 ** Message: found stream 0 with payloader 0x92a8550 ** Message: found stream 1 with payloader 0x92ac250 ** Message: constructed media 0x92b00a0 for url /test.mp4 ** Message: preparing media 0x92b00a0 ** Message: 0x92b00a0: got message type tag ** Message: 0x92b00a0: got message type tag ** Message: 0x92b00a0: got message type tag ** Message: stream 0x9313450 received caps 0x92f2ba0, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3090886749, payload=(int)97, clock-base=(guint)2641064566, seqnum-base=(guint)46500 ** Message: stream 0x9313450 received caps 0x92f2ba0, application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr, config=(string)0d88, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, ssrc=(guint)3090886749, payload=(int)97, clock-base=(guint)2641064566, seqnum-base=(guint)46500 ** Message: stream 0x92afe00 received caps 0x92f2840, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)1198234955, payload=(int)96, clock-base=(guint)1888504220, seqnum-base=(guint)22027 ** Message: stream 0x92afe00 received caps 0x92f2840, application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463, ssrc=(guint)1198234955, payload=(int)96, clock-base=(guint)1888504220, seqnum-base=(guint)22027 ** Message: 0x92b00a0: got message type async-done ** Message: stats: position 0:00:00.000000000, duration 0:00:31.533333333 ** Message: object 0x92b00a0 is prerolled RTSP response message 0xbf820f20 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://carinov.dyndns.biz:80/test.mp4/' key: 'Server', value: 'GStreamer RTSP server' body: length 577 00000000 (0x9307d20): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30 v=0..o=- 1188340 00000010 (0x9307d30): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49 656180883 1 IN I 00000020 (0x9307d40): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d P4 127.0.0.1..s= 00000030 (0x9307d50): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64 Session streamed 00000040 (0x9307d60): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d with GStreamer. 00000050 (0x9307d70): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a .i=rtsp-server.. 00000060 (0x9307d80): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61 e=NONE..t=0 0..a 00000070 (0x9307d90): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d =tool:GStreamer. 00000080 (0x9307da0): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73 .a=type:broadcas 00000090 (0x9307db0): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 t..a=range:npt=0 000000a0 (0x9307dc0): 2e 30 30 30 30 30 30 2d 33 31 2e 35 33 33 33 33 .000000-31.53333 000000b0 (0x9307dd0): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 3..m=video 0 RTP 000000c0 (0x9307de0): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 /AVP 96..c=IN IP 000000d0 (0x9307df0): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72 4 127.0.0.1..a=r 000000e0 (0x9307e00): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 tpmap:96 MP4V-ES 000000f0 (0x9307e10): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f /90000..a=contro 00000100 (0x9307e20): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d l:stream=0..a=fm 00000110 (0x9307e30): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 tp:96 profile-le 00000120 (0x9307e40): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d vel-id=1;config= 00000130 (0x9307e50): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31 000001b001000001 00000140 (0x9307e60): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30 b589130000010000 00000150 (0x9307e70): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30 00012000c48d8800 00000160 (0x9307e80): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a 6d 3d f50a041e1463..m= 00000170 (0x9307e90): 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20 audio 0 RTP/AVP 00000180 (0x9307ea0): 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 31 32 37 97..c=IN IP4 127 00000190 (0x9307eb0): 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70 6d 61 70 .0.0.1..a=rtpmap 000001a0 (0x9307ec0): 3a 39 37 20 4d 50 45 47 34 2d 47 45 4e 45 52 49 :97 MPEG4-GENERI 000001b0 (0x9307ed0): 43 2f 38 30 30 30 2f 31 0d 0a 61 3d 63 6f 6e 74 C/8000/1..a=cont 000001c0 (0x9307ee0): 72 6f 6c 3a 73 74 72 65 61 6d 3d 31 0d 0a 61 3d rol:stream=1..a= 000001d0 (0x9307ef0): 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d 74 79 fmtp:97 streamty 000001e0 (0x9307f00): 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c 65 76 pe=5;profile-lev 000001f0 (0x9307f10): 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41 41 43 el-id=1;mode=AAC 00000200 (0x9307f20): 2d 68 62 72 3b 63 6f 6e 66 69 67 3d 30 64 38 38 -hbr;config=0d88 00000210 (0x9307f30): 3b 73 69 7a 65 6c 65 6e 67 74 68 3d 31 33 3b 69 ;sizelength=13;i 00000220 (0x9307f40): 6e 64 65 78 6c 65 6e 67 74 68 3d 33 3b 69 6e 64 ndexlength=3;ind 00000230 (0x9307f50): 65 78 64 65 6c 74 61 6c 65 6e 67 74 68 3d 33 0d exdeltalength=3. 00000240 (0x9307f60): 0a . ** Message: client 0x92c9780: sent a message with cseq 2 RTSP request message 0x931014c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=0' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' body: ** Message: client 0x92c9780: received a request ** Message: reusing cached media 0x92b00a0 ** Message: manage new media 0x92b00a0 in session 0x92e3ce0 RTSP response message 0xbf820f04 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '3' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'hqqfaoxvasqygvmr' body: length 0 ** Message: client 0x92c9780: sent a message with cseq 3 RTSP request message 0x931014c request line: method: 'SETUP' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4/stream=1' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'hqqfaoxvasqygvmr' body: ** Message: client 0x92c9780: received a request ** Message: watching session 0x92b64a0 RTSP response message 0xbf820f04 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '4' key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode="PLAY"' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'hqqfaoxvasqygvmr' body: length 0 ** Message: client 0x92c9780: sent a message with cseq 4 RTSP request message 0x931014c request line: method: 'SET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Subscribe', value: 'stream=0;rule=0,stream=0;rule=1,stream=1;rule=0,stream=1;rule=1' key: 'Session', value: 'hqqfaoxvasqygvmr' body: ** Message: client 0x92c9780: received a request RTSP response message 0xbf820e00 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '5' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x92c9780: sent a message with cseq 5 RTSP request message 0x931014c request line: method: 'PLAY' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '6' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'hqqfaoxvasqygvmr' key: 'Range', value: 'npt=0-31.533000' key: 'Bandwidth', value: '1618928' body: ** Message: client 0x92c9780: received a request ** Message: seeking to 99:99:99.999999999 - 0:00:31.533000946 ** Message: done seeking 1 ** Message: prerolled again ** Message: stats: position 0:00:01.000000000, duration 0:00:31.533333333 RTSP response message 0xbf820ee8 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '6' key: 'RTP-Info', value: 'url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=0;seq=22034;rtptime=1888504220, url=rtsp://carinov.dyndns.biz:80/test.mp4/stream=1;seq=46501;rtptime=1517363682' key: 'Range', value: 'npt=1.000000-31.533333' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'hqqfaoxvasqygvmr' body: length 0 ** Message: going to state PLAYING media 0x92b00a0 ** Message: adding TCP 114.143.222.36 ** Message: adding TCP 114.143.222.36 ** Message: active 2 media 0x92b00a0 ** Message: state PLAYING media 0x92b00a0 ** Message: 0x92b00a0: got message type async-done ** Message: 0x92b00a0: got message type new-clock ** Message: client 0x92c9780: sent a message with cseq 6 RTSP request message 0x931014c request line: method: 'PAUSE' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '7' key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338 (win32)' key: 'Session', value: 'hqqfaoxvasqygvmr' body: ** Message: client 0x92c9780: received a request ** Message: going to state PAUSED media 0x92b00a0 ** Message: removing TCP 114.143.222.36 ** Message: removing TCP 114.143.222.36 ** Message: active 0 media 0x92b00a0 ** Message: state PAUSED media 0x92b00a0 ** Message: stats: position 0:00:05.166666666, duration 0:00:31.533333333 RTSP response message 0xbf820ecc status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '7' key: 'Server', value: 'GStreamer RTSP server' key: 'Session', value: 'hqqfaoxvasqygvmr' body: length 0 ** Message: client 0x92c9780: sent a message with cseq 7 ** Message: 0x92b00a0: got message type async-done ** Message: client 0x92c9720: received an error System error: Connection reset by peer ** Message: finalize client 0x92c9720 ** Message: client 0x92c96c0: received an error System error: Connection reset by peer ** Message: finalize client 0x92c96c0 RTSP request message 0x931014c request line: method: 'SET_PARAMETER' uri: 'rtsp://carinov.dyndns.biz:80/test.mp4' version: '1.0' headers: key: 'CSeq', value: '8' key: 'Session', value: 'hqqfaoxvasqygvmr' body: ** Message: client 0x92c9780: received a request RTSP response message 0xbf820e00 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'CSeq', value: '8' key: 'Server', value: 'GStreamer RTSP server' body: length 0 ** Message: client 0x92c9780: received an error System error: Connection reset by peer ** Message: finalize client 0x92c9780 ^C [root@localhost examples]#
oho,,,now it completely broken .Not working in LAN also.Even if the port is 8554 ,player is trying for tcp tunnelling!!!!!!!!!!!!!!!!!!!!!!!!
Seems to work fine for me.
Did you got it in wan and lan? Once again i installed the previous gst-rtsp-server.I got it working.But if i installed the new gst-rtsp-server, it didnt trying for a udp connection.I tried it with wiredshark also.Always trying for http tunnelling.