protected Session handleRequest(String uri, Socket client) throws IllegalStateException, IOException {
		Session session = UriParser.parse(uri);
		session.setOrigin(client.getLocalAddress().getHostAddress());
		if (session.getDestination()==null) {
			session.setDestination(client.getInetAddress().getHostAddress());
		}
		return session;
	}
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