createAnswer method

Future<RTCSessionDescription> createAnswer()

Implementation

Future<RTCSessionDescription> createAnswer() async {
  final RTCSessionDescription sdp =
      await rtcPeerConnection!.createAnswer(offerSdpConstraints);
  await rtcPeerConnection!.setLocalDescription(sdp);
  return sdp;
}