SipControllerLoaded class

Loaded/active state containing latest SIP information.

This is the primary working state used when SIP has been initialized. It includes:

  • Call updates
  • Media stream updates
  • Registration status
  • Call duration updates
Inheritance

Constructors

SipControllerLoaded({required SipConfigModel sipConfig, bool sipStarted = false, int callState = 0, MediaStream? localStream, MediaStream? remoteStream, Call? currentCall, Duration callDuration = Duration.zero})
Creates an active SIP controller state with full data.
const

Properties

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

Methods

copyWith({SipConfigModel? sipConfig, bool? sipStarted, int? callState, MediaStream? localStream, MediaStream? remoteStream, Call? currentCall, Duration? callDuration}) → SipControllerLoaded
Creates a new immutable copy of this state with updated fields.
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