placeCallWithStreams method

Future<void> placeCallWithStreams(
  1. List<WrappedMediaStream> callFeeds, {
  2. bool requestScreenSharing = false,
})

Implementation

Future<void> placeCallWithStreams(
  List<WrappedMediaStream> callFeeds, {
  bool requestScreenSharing = false,
}) async {
  // create the peer connection now so it can be gathering candidates while we get user
  // media (assuming a candidate pool size is configured)
  await _preparePeerConnection();
  await gotCallFeedsForInvite(
    callFeeds,
    requestScreenSharing: requestScreenSharing,
  );
}