State

public enum State : Int

State enum represents the different states a call can reach into.

  • Initial state.

    Declaration

    Swift

    case Idle = 0
  • Incoming call received.

    Declaration

    Swift

    case IncomingReceived = 1
  • PushIncoming call received.

    Declaration

    Swift

    case PushIncomingReceived = 2
  • Outgoing call initialized.

    Declaration

    Swift

    case OutgoingInit = 3
  • Outgoing call in progress.

    Declaration

    Swift

    case OutgoingProgress = 4
  • Outgoing call ringing.

    Declaration

    Swift

    case OutgoingRinging = 5
  • Outgoing call early media.

    Declaration

    Swift

    case OutgoingEarlyMedia = 6
  • Connected.

    Declaration

    Swift

    case Connected = 7
  • Streams running.

    Declaration

    Swift

    case StreamsRunning = 8
  • Pausing.

    Declaration

    Swift

    case Pausing = 9
  • Paused.

    Declaration

    Swift

    case Paused = 10
  • Resuming.

    Declaration

    Swift

    case Resuming = 11
  • Referred.

    Declaration

    Swift

    case Referred = 12
  • Error.

    Declaration

    Swift

    case Error = 13
  • End

    Call end.

    Declaration

    Swift

    case End = 14
  • Paused by remote.

    Declaration

    Swift

    case PausedByRemote = 15
  • The call’s parameters are updated for example when video is asked by remote.

    Declaration

    Swift

    case UpdatedByRemote = 16
  • We are proposing early media to an incoming call.

    Declaration

    Swift

    case IncomingEarlyMedia = 17
  • We have initiated a call update.

    Declaration

    Swift

    case Updating = 18
  • The call object is now released.

    Declaration

    Swift

    case Released = 19
  • The call is updated by remote while not yet answered (SIP UPDATE in early dialog received)

    Declaration

    Swift

    case EarlyUpdatedByRemote = 20
  • We are updating the call while not yet answered (SIP UPDATE in early dialog sent)

    Declaration

    Swift

    case EarlyUpdating = 21