answer method

void answer(
  1. Map<String, dynamic> options, {
  2. MediaStream? mediaStream = null,
})

Implementation

void answer(Map<String, dynamic> options, {MediaStream? mediaStream = null}) {
  assert(_session != null, 'ERROR(answer): rtc session is invalid!');
  if (mediaStream != null) {
    options['mediaStream'] = mediaStream;
  }
  _session.answer(options);
}