gotCallFeedsForAnswer method

Future<void> gotCallFeedsForAnswer(
  1. List<WrappedMediaStream> callFeeds
)

Implementation

Future<void> gotCallFeedsForAnswer(List<WrappedMediaStream> callFeeds) async {
  if (state == CallState.kEnded) return;

  waitForLocalAVStream = false;

  for (final element in callFeeds) {
    await addLocalStream(await element.stream!.clone(), element.purpose);
  }

  await answer();
}