Code example for InetAddress

Methods: getHostAddress

0
            ((RtspSetupResponse) rtspResponse).setTransportProtocol(Parser.getTransportProtocol(requestLine));
             
            // session type 
            ((RtspSetupResponse) rtspResponse).setSessionType(Parser.getSessionType(requestLine));
 
            ((RtspSetupResponse) rtspResponse).setClientIP(this.clientAddress.getHostAddress());
	             
            int[] interleaved = Parser.getInterleavedSetup(requestLine);
            if(interleaved != null){
                ((RtspSetupResponse) rtspResponse).setInterleaved(interleaved);
            } 
 
	    } 
 
	    /** 
	     * Create an RTSP response for an incoming DESCRIBE request. 
	     *  
	     * @param requestLine 
	     * @throws Exception 
	     */ 
Experience pair programming with AI  Get Codota for Java