Hello everyone,
I have question for getting certain information from responseText of XMLHttpRequest.
I get the responseText like this:
[I][COLOR=”Blue”]s=Ford
e=support@localhost
c=IN IP4
t=0 0
a=creation_date:20081129T143637.000Z
a=range:npt=0-31.061
a=X-wmfversion:1.2
a=control:rtsp:/XXX:554/ALU_CP_user1/ALU_CP_user1_20081201_151027_1_h264aacplus128.3gp?fg=2&ud=BFAD0AD3977C04A7A9D93BD7F4AD2D32.MCDP-mifeas01_ALU&dt=20090417T134323.011Z&ds=0172f3b7a24c7c000c189a400ad61d44a8bea59b
a=etag:B45ADE7E644262C0B74ADB31140C4ADC
a=random_access_denied
m=video 0 RTP/AVP 96
b=TIAS:104000
b=AS:117
b=RR:2925
b=RS:2925
[COLOR=”Red”]a=control:rtsp://XXX:554/ALU_CP_user1/ALU_CP_user1_20081201_151027_1_h264aacplus128.3gp/trackID=201?fg=2&ud=BFAD0AD3977C04A7A9D93BD7F4AD2D32.MCDP-mifeas01_ALU&dt=20090417T134323.011Z&ds=0172f3b7a24c7c000c189a400ad61d44a8bea59b
a=maxprate:24.0
and I want to get the address of rtsp of the [SIZE=”5″][COLOR=”Red”]Red part
This the code which can get the whole information, how do I change it to get the address of rtsp?
[CODE] createXMLHttpRequest();
xhr_object.open(“GET”, addressTV, false);
xhr_object.send(null);
if (xhr_object.readyState == 4){
return(xhr_object.responseText);
}
Thank you for your attention, have a good weekend!!