public boolean useEncryption ( ) { switch ( handshakeType ) { case RTMPConnection . RTMP_ENCRYPTED : case RTMPConnection . RTMP_ENCRYPTED_XTEA : case RTMPConnection . RTMP_ENCRYPTED_BLOWFISH : return true ; } return false ; }
Whether or not encryptions is in use .