videoConnect method

Future<void> videoConnect()

Video Connect (WebSocket)

Establishes WebSocket connection for user to video Sends events: - connection.ok - health.check

Implementation

Future<void> videoConnect() async {
  final response = await videoConnectWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}