/** * 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 */ protected Session handleRequest(System.String uri, Socket client) { //TODO Session session = UriParser.parse(uri); session.setOrigin(client.LocalAddress.HostAddress); if (session.getDestination()==null) { session.setDestination(client.InetAddress.HostAddress); } return session; }