core/core library

Classes

AppSipController
A singleton controller responsible for managing SIP registration, WebRTC streams, call states, and UI overlays.
CallStateChangedEvent
Internal event: Fired when SIP call state changes, such as ringing, accepted, confirmed, ended, failed, etc.
DisableVoiceCallModeEvent
Event: Disable Voice Call Audio Mode and return to normal audio routing.
EnableVoiceCallModeEvent
Event: Enable Voice Call Audio Mode on the native platform.
EndCallEvent
Event: End the current call and clean up all call-related streams/resources.
InitializeSipEvent
Event: Initialize a SIP session using the provided configuration.
MakeCallEvent
Event: Make a voice call to the given SIP target address.
MuteMicrophoneEvent
Event: Mute the microphone during a call.
SendDtmfEvent
Event: Send DTMF tone during an active call.
SipControllerBloc
A BLoC implementation responsible for managing SIP registration, handling call lifecycle, maintaining media streams, handling network recovery, and updating the UI state for SIP/WebRTC operations.
SipControllerError
Error state used when SIP actions fail.
SipControllerEvent
Base class for all SIP controller events.
SipControllerInitial
Initial state before SIP is configured or started.
SipControllerLoaded
Loaded/active state containing latest SIP information.
SipControllerLoading
Loading state used when SIP is initializing, registering, or performing blocking operations such as starting the SIP UA.
SipControllerState
Base state class for the SIP controller BLoC.
StartLocalStreamEvent
Event: Start audio streaming by requesting microphone access.
StopLocalStreamEvent
Event: Stop audio streaming and release audio tracks.
UnmuteMicrophoneEvent
Event: Unmute the microphone.
UnregisterSipEvent
Event: Unregister from SIP server and stop SIP services.
UpdateCallDurationEvent
Internal event: Updates the call duration timer every second when the call is in the CONFIRMED state.