Livekitex.SIPServiceClient (livekitex v0.1.34)

Low-level Twirp JSON client for LiveKit SIPService endpoints.

This client uses JSON-encoded requests/responses to avoid requiring generated protobuf modules for SIP. It mirrors the paths in livekit.SIP.

Summary

Types

client()

@type client() :: Tesla.Client.t()

token()

@type token() :: String.t()

Functions

create_dispatch_rule(client, token, req)

create_inbound_trunk(client, token, req)

create_outbound_trunk(client, token, req)

create_participant(client, token, req)

delete_dispatch_rule(client, token, rule_id)

delete_trunk(client, token, trunk_id)

get_inbound_trunk(client, token, trunk_id)

get_outbound_trunk(client, token, trunk_id)

list_dispatch_rules(client, token, opts \\ %{})

list_inbound_trunks(client, token, opts \\ %{})

list_outbound_trunks(client, token, opts \\ %{})

transfer_participant(client, token, req)

update_dispatch_rule(client, token, rule_id, action)

update_inbound_trunk(client, token, trunk_id, action)

update_outbound_trunk(client, token, trunk_id, action)