For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReferenceClick-to-Call
GuidesReferenceClick-to-Call
  • Core
    • Overview
  • Entities
    • SignalWire
    • Address
    • Participant
    • ClientPreferences
    • SelfCapabilities
    • SelfParticipant
    • User
    • WebRTCCall
      • CallDirection
      • CallErrorKind
      • CallStatus
      • Capability
      • CredentialRefreshFallbackReason
      • ExecuteMethod
      • JSONRPCResponse<TResult>
      • LogLevel
      • MediaDirection
      • QualityLevel
      • RecoveryState
      • ResilienceCallStatus
      • ScreenShareStatus
      • SDKWarning
      • UserPresence
      • VideoPosition
      • WebSocketAdapter
  • Web Components
    • Overview
    • sw-audio-level
    • sw-call-controls
    • sw-call-dialpad
    • sw-call-media
    • sw-call-provider
    • sw-call-status
    • sw-call-widget
    • sw-click-to-call
    • sw-device-selector
    • sw-directory
    • sw-local-camera
    • sw-participant-controls
    • sw-participants
    • sw-self-media
    • sw-ui-alert
    • sw-ui-background
    • sw-ui-call-layout
    • sw-ui-content-drawer
    • sw-ui-control-bar
    • sw-ui-dialpad
    • sw-ui-dropup
    • sw-ui-icon
    • sw-ui-modal
    • sw-ui-responsive-container
    • sw-ui-split-button
    • sw-ui-transcript-view
LogoLogoSignalWire Docs
Log inSign up
Support
EntitiesType Aliases

SDKWarning

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

UserPresence

Next
Built with
1type SDKWarning = CredentialRefreshFallbackWarning | CredentialNoRefreshHandlerWarning

Non-fatal warning emitted via client.warnings$.

Use to detect SDK behaviors that affect session liveness or developer-facing contracts but do not warrant disconnection. Discriminated by code.

Existing consumers of errors$ are NOT notified — warnings$ is a separate channel so application code can react to warnings without triggering error-handling code paths (e.g., disconnect cascades, user-facing toasts).

  • CredentialRefreshFallbackWarning — code: 'credential_refresh_fallback'
  • CredentialNoRefreshHandlerWarning — code: 'credential_no_refresh_handler'