Hi,<br><br> I am doing a program on RTSP it works on arm,sparkle and x86 but not on eabi tool chain .<br><br><br> It is giving some code after that segmenatfault .<br><br>RTSP request message 0xbed0b8a4<br> request line:<br>
method: 'OPTIONS'<br> uri: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp">172.17.5.197/sample_50kbit.3gp</a>'<br> version: '1.0'<br> headers:<br> body:<br>RTSP response message 0xbed0b888<br>
status line:<br> code: '200'<br> reason: 'OK'<br> version: '1.0'<br> headers:<br> key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux; Release/Darwin; state/beta; )'<br>
key: 'CSeq', value: '0'<br> key: 'Public', value: 'DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD'<br> body: length 0<br>RTSP request message 0xbed0b8a4<br> request line:<br>
method: 'DESCRIBE'<br> uri: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp">172.17.5.197/sample_50kbit.3gp</a>'<br> version: '1.0'<br> headers:<br> key: 'Accept', value: 'application/sdp'<br>
body:<br>RTSP response message 0xbed0b888<br> status line:<br> code: '200'<br> reason: 'OK'<br> version: '1.0'<br> headers:<br> key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux; Release/Darwin; state/beta; )'<br>
key: 'CSeq', value: '1'<br> key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'<br> key: 'Cache-Control', value: 'must-revalidate'<br> key: 'Content-Length', value: '515'<br>
key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br> key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br> key: 'Content-Type', value: 'application/sdp'<br> key: 'Content-Base', value: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp/">172.17.5.197/sample_50kbit.3gp/</a>'<br>
body: length 516<br>00000000 (0x12a638): 76 3d 30 0d 0a 6f 3d 53 74 72 65 61 6d 69 6e 67 v=0..o=Streaming<br>00000010 (0x12a648): 53 65 72 76 65 72 20 33 34 32 33 34 37 31 37 37 Server 342347177<br>00000020 (0x12a658): 36 20 31 32 31 34 34 37 32 37 30 30 30 30 30 20 6 1214472700000 <br>
00000030 (0x12a668): 49 4e 20 49 50 34 20 31 37 32 2e 31 37 2e 35 2e IN IP4 <a href="http://172.17.5.">172.17.5.</a><br>00000040 (0x12a678): 31 39 37 0d 0a 73 3d 2f 73 61 6d 70 6c 65 5f 35 197..s=/sample_5<br>00000050 (0x12a688): 30 6b 62 69 74 2e 33 67 70 0d 0a 75 3d 68 74 74 0kbit.3gp..u=htt<br>
00000060 (0x12a698): 70 3a 2f 2f 2f 0d 0a 65 3d 61 64 6d 69 6e 40 0d p:///..e=admin@.<br>00000070 (0x12a6a8): 0a 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30 2e .c=IN IP4 <a href="http://0.0.0.">0.0.0.</a><br>00000080 (0x12a6b8): 30 0d 0a 62 3d 41 53 3a 35 30 0d 0a 74 3d 30 20 0..b=AS:50..t=0 <br>
00000090 (0x12a6c8): 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a 0..a=control:*..<br>000000a0 (0x12a6d8): 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 2d 20 20 a=range:npt=0- <br>000000b0 (0x12a6e8): 37 30 2e 30 30 30 30 30 0d 0a 6d 3d 76 69 64 65 70.00000..m=vide<br>
000000c0 (0x12a6f8): 6f 20 30 20 52 54 50 2f 41 56 50 20 39 36 0d 0a o 0 RTP/AVP 96..<br>000000d0 (0x12a708): 62 3d 41 53 3a 34 31 0d 0a 61 3d 72 74 70 6d 61 b=AS:41..a=rtpma<br>000000e0 (0x12a718): 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30 p:96 MP4V-ES/900<br>
000000f0 (0x12a728): 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 00..a=control:tr<br>00000100 (0x12a738): 61 63 6b 49 44 3d 33 0d 0a 61 3d 63 6c 69 70 72 ackID=3..a=clipr<br>00000110 (0x12a748): 65 63 74 3a 30 2c 30 2c 31 34 34 2c 31 37 36 0d ect:0,0,144,176.<br>
00000120 (0x12a758): 0a 61 3d 66 72 61 6d 65 73 69 7a 65 3a 39 36 20 .a=framesize:96 <br>00000130 (0x12a768): 31 37 36 2d 31 34 34 0d 0a 61 3d 66 6d 74 70 3a 176-144..a=fmtp:<br>00000140 (0x12a778): 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 76 65 6c 96 profile-level<br>
00000150 (0x12a788): 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d 30 30 30 -id=1;config=000<br>00000160 (0x12a798): 30 30 31 42 30 30 38 30 30 30 30 30 31 42 35 30 001B008000001B50<br>00000170 (0x12a7a8): 45 45 30 34 30 43 30 43 46 30 30 30 30 30 31 30 EE040C0CF0000010<br>
00000180 (0x12a7b8): 30 30 30 30 30 30 31 32 30 30 30 38 34 34 30 46 000000120008440F<br>00000190 (0x12a7c8): 41 32 38 32 43 32 30 39 30 41 32 31 46 0d 0a 6d A282C2090A21F..m<br>000001a0 (0x12a7d8): 3d 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 =audio 0 RTP/AVP<br>
000001b0 (0x12a7e8): 20 39 37 0d 0a 62 3d 41 53 3a 38 0d 0a 61 3d 72 97..b=AS:8..a=r<br>000001c0 (0x12a7f8): 74 70 6d 61 70 3a 39 37 20 41 4d 52 2f 38 30 30 tpmap:97 AMR/800<br>000001d0 (0x12a808): 30 2f 31 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 0/1..a=control:t<br>
000001e0 (0x12a818): 72 61 63 6b 49 44 3d 34 0d 0a 61 3d 66 6d 74 70 rackID=4..a=fmtp<br>000001f0 (0x12a828): 3a 39 37 20 6f 63 74 65 74 2d 61 6c 69 67 6e 3d :97 octet-align=<br>00000200 (0x12a838): 31 0d 0a 00 1... <br>
sdp packet 0xbed0b828:<br> version: '0'<br> origin:<br> username: 'StreamingServer'<br> sess_id: '3423471776'<br> sess_version: '1214472700000'<br> nettype: 'IN'<br>
addrtype: 'IP4'<br> addr: '<a href="http://172.17.5.197">172.17.5.197</a>'<br> session_name: '/sample_50kbit.3gp'<br> information: '(null)'<br> uri: 'http:///'<br>
emails:<br> email 'admin@'<br> connection:<br> nettype: 'IN'<br> addrtype: 'IP4'<br> address: '<a href="http://0.0.0.0">0.0.0.0</a>'<br> ttl: '0'<br> addr_number: '0'<br>
key:<br> type: '(null)'<br> data: '(null)'<br> attributes:<br> attribute 'control' : '*'<br> attribute 'range' : 'npt=0- 70.00000'<br> medias:<br> media 0:<br>
media: 'video'<br> port: '0'<br> num_ports: '-1'<br> proto: 'RTP/AVP'<br> formats:<br> format '96'<br> information: '(null)'<br> key:<br>
type: '(null)'<br> data: '(null)'<br> attributes:<br> attribute 'rtpmap' : '96 MP4V-ES/90000'<br> attribute 'control' : 'trackID=3'<br> attribute 'cliprect' : '0,0,144,176'<br>
attribute 'framesize' : '96 176-144'<br> attribute 'fmtp' : '96 profile-level-id=1;config=000001B008000001B50EE040C0CF0000010000000120008440FA282C2090A21F'<br> media 1:<br> media: 'audio'<br>
port: '0'<br> num_ports: '-1'<br> proto: 'RTP/AVP'<br> formats:<br> format '97'<br> information: '(null)'<br> key:<br> type: '(null)'<br>
data: '(null)'<br> attributes:<br> attribute 'rtpmap' : '97 AMR/8000/1'<br> attribute 'control' : 'trackID=4'<br> attribute 'fmtp' : '97 octet-align=1'<br>
RTSP request message 0xbed0b774<br> request line:<br> method: 'SETUP'<br> uri: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp/trackID=3">172.17.5.197/sample_50kbit.3gp/trackID=3</a>'<br> version: '1.0'<br>
headers:<br> key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1'<br> body:<br>RTSP response message 0xbed0b758<br> status line:<br> code: '200'<br> reason: 'OK'<br> version: '1.0'<br>
headers:<br> key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux; Release/Darwin; state/beta; )'<br> key: 'CSeq', value: '2'<br> key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'<br>
key: 'Cache-Control', value: 'must-revalidate'<br> key: 'Session', value: '3836024156544453565'<br> key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br> key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br>
key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=0715EB1E'<br> body: length 0<br>RTSP request message 0xbed0b774<br> request line:<br> method: 'SETUP'<br> uri: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp/trackID=4">172.17.5.197/sample_50kbit.3gp/trackID=4</a>'<br>
version: '1.0'<br> headers:<br> key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=2-3'<br> body:<br>RTSP response message 0xbed0b758<br> status line:<br> code: '200'<br> reason: 'OK'<br>
version: '1.0'<br> headers:<br> key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux; Release/Darwin; state/beta; )'<br> key: 'CSeq', value: '3'<br> key: 'Session', value: '3836024156544453565'<br>
key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'<br> key: 'Cache-Control', value: 'must-revalidate'<br> key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br>
key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'<br> key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=2-3;ssrc=1A7BBF7C'<br> body: length 0<br>RTSP request message 0xbed0b87c<br>
request line:<br> method: 'PLAY'<br> uri: 'rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp">172.17.5.197/sample_50kbit.3gp</a>'<br> version: '1.0'<br> headers:<br> key: 'Range', value: 'npt=0-'<br>
body:<br>RTSP response message 0xbed0b860<br> status line:<br> code: '200'<br> reason: 'OK'<br> version: '1.0'<br> headers:<br> key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux; Release/Darwin; state/beta; )'<br>
key: 'CSeq', value: '4'<br> key: 'Session', value: '3836024156544453565'<br> key: 'Range', value: 'npt=0.00000-70.00000'<br> key: 'RTP-Info', value: 'url=rtsp://<a href="http://172.17.5.197/sample_50kbit.3gp/trackID=3;seq=41785;rtptime=825636996,url=rtsp://172.17.5.197/sample_50kbit.3gp/trackID=4;seq=15839;rtptime=670018149">172.17.5.197/sample_50kbit.3gp/trackID=3;seq=41785;rtptime=825636996,url=rtsp://172.17.5.197/sample_50kbit.3gp/trackID=4;seq=15839;rtptime=670018149</a>'<br>
body: length 0<br>segmentation fault<br><br><br>-- <br><br>Regards<br>Laxman Dodda<br><br>