[gst-devel] gstreamer-devel Digest, Vol 38, Issue 59

sreerenj b bsreerenj at gmail.com
Thu Jul 23 14:32:29 CEST 2009


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

I am attaching a wiredshark file of the communicaiton together with this
mail.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090723/56902243/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: realtime_gst_port80_wan_tcp
Type: application/octet-stream
Size: 253886 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090723/56902243/attachment.obj>


More information about the gstreamer-devel mailing list