VoxRtcServer.Client (vox_rtc_server v0.1.0)

Copy Markdown View Source

A persistent trusted-service connection to Vox's gRPC RTC API.

Summary

Types

t()

@type t() :: pid()

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

close(client)

@spec close(t()) :: :ok

create_controlled_session(client, options \\ [])

@spec create_controlled_session(
  t(),
  keyword()
) ::
  {:ok, VoxRtcServer.Bootstrap.t(), VoxRtcServer.Session.t()} | {:error, term()}

start_link(options)

@spec start_link(keyword()) :: GenServer.on_start()