Start an outgoing call and manage it with FlutterCallkitIncoming
startCall integrates outgoing calls with the native telephony layer. On iOS it uses CallKit to create a call history entry in the Phone app. On Android it only fires callback events — there is no system UI for outgoing calls.
After your WebRTC or P2P session is established, call setCallConnected. This starts the call timer in the iOS Phone app history and fires a connected event.
// Mute the microphoneawait FlutterCallkitIncoming.muteCall(_currentUuid, isMuted: true);// Unmuteawait FlutterCallkitIncoming.muteCall(_currentUuid, isMuted: false);// Check current mute statusbool muted = await FlutterCallkitIncoming.isMuted(_currentUuid);// Put the call on holdawait FlutterCallkitIncoming.holdCall(_currentUuid, isOnHold: true);// Resume from holdawait FlutterCallkitIncoming.holdCall(_currentUuid, isOnHold: false);
muteCall and holdCall update the CallKit UI on iOS. On Android they only fire the corresponding callback event — your app is responsible for applying the mute/hold state to the media stream.