secure_chat=chat_stream.transport=='tls'andall(len(path)==1forpathin(chat_stream.msrp.full_local_path,chat_stream.msrp.full_remote_path))# tls & direct connection
secure_chat=chat_stream.transport=='tls'andall(len(path)==1forpathin(msrp_transport.full_local_path,msrp_transport.full_remote_path))# tls & direct connection