initSession method

Future<void> initSession()

Initiates a opentok session with the given VideoConfig value.

Implementation

Future<void> initSession() async {
  try {
    return await _openTokHostApi.initSession(_config);
  } catch (e) {
    rethrow;
  }
}