Livekitex.SIPService (livekitex v0.1.34)
High-level SIP wrapper over LiveKit's SIP Twirp API.
Provides helpers to manage trunks, dispatch rules, and participants using JSON Twirp endpoints over HTTP(S) with Tesla/Finch, and token grants.
Summary
Functions
Create a new SIPService configured for a LiveKit server.
Types
@type t() :: %Livekitex.SIPService{ api_key: String.t(), api_secret: String.t(), base_url: String.t(), client: Tesla.Client.t() | nil }
Functions
Create a new SIPService configured for a LiveKit server.
Options:
- :host - e.g. "test-abc.livekit.cloud"
- :port - integer port; default 443 for https
- :scheme - "https" or "http"; default "https"
- :base_url - override full base URL, e.g. "https://host:443"