private void sendRequestRecord() throws IllegalStateException, SocketException, IOException {
  String request="RECORD rtsp://" + mParameters.host + ":"+ mParameters.port+ mParameters.path+ " RTSP/1.0\r\n"+ "Range: npt=0.000-"+ addHeaders();
  Log.i(TAG,request.substring(0,request.indexOf("\r\n")));
  mOutputStream.write(request.getBytes("UTF-8"));
  Response.parseResponse(mBufferedReader);
}

private void sendRequestRecord ( ) throws IllegalStateException , SocketException , IOException { String request = "RECORD rtsp://" + mParameters . host + ":" + mParameters . port + mParameters . path + " RTSP/1.0\r\n" + "Range: npt=0.000-" + addHeaders ( ) ; Log . i ( TAG , request . substring ( 0 , request . indexOf ( "\r\n" ) ) ) ; mOutputStream . write ( request . getBytes ( "UTF-8" ) ) ; Response . parseResponse ( mBufferedReader ) ; }
forges and sends the record request
