getWebSocketAddress method

String getWebSocketAddress()

Returns the WebSocket address

Implementation

String getWebSocketAddress() {
  final uri = Uri.parse(session.token);
  final port = uri.port != -1 ? ':${uri.port}' : '';
  return '${uri.scheme}://${uri.host}$port/openvidu';
}