public void run() {
			Log.i(TAG,"RTSP server listening on port "+mServer.getLocalPort());
			while (!Thread.interrupted()) {
				try {
					new WorkerThread(mServer.accept()).start();
				} catch (SocketException e) {
					break;
				} catch (IOException e) {
					Log.e(TAG,e.getMessage());
					continue;
				}
			}
			Log.i(TAG,"RTSP server stopped !");
		}
By default the RTSP uses {@link UriParser} to parse the URI requested by the client
but you can change that behavior by override this method.
@param uri The uri that the client has requested
@param client The socket associated to the client
@return A proper session
src/net/majorkernelpanic/streaming/rtsp/RtspServer.java