SipControllerState class abstract

Base state class for the SIP controller BLoC.

This state stores all SIP-related runtime information such as:

  • SIP configuration
  • SIP registration status
  • Current call state
  • Local/remote media streams
  • Active SIP call session
  • Call duration timer

Subclasses represent various phases of the SIP controller lifecycle.

Implementers

Constructors

SipControllerState({required SipConfigModel sipConfig, bool sipStarted = false, int callState = 0, MediaStream? localStream, MediaStream? remoteStream, Call? currentCall, Duration callDuration = Duration.zero})
Creates a base SipControllerState with SIP and call-related data.
const

Properties

callDuration → Duration
Current duration of the active call. Updated continuously when the call is in confirmed state.
final
callState → int
Current SIP call state represented as an integer.
final
currentCall → Call?
The currently active SIP call session, if any.
final
hashCode → int
The hash code for this object.
no setterinherited
localStream → MediaStream?
Local audio/video stream captured from device microphone/camera.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
remoteStream → MediaStream?
Remote audio/video stream received from peer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sipConfig → SipConfigModel
Contains SIP account configuration (server, username, password, etc.).
final
sipStarted → bool
Indicates whether SIP service has been started and registered.
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited