Skip to main content

VivoxConfiguration

A class in Root.Township, Alta.Voice.

Client: Vivox voice settings (issuer, domain, endpoint) and how to get login and channel tokens, either from the Alta API or signed locally with the sandbox key.

Constructors​

MemberWhat it is
VivoxConfiguration(string issuer, string domain, string endPoint, bool isUsingSandbox = false)Creates a VivoxConfiguration from issuer, domain, endPoint and isUsingSandbox.

Fields​

2 private and internal fields
MemberWhat it is
private bool isUsingSandboxWhen true, tokens are signed locally instead of fetched from the API.
private const string SandboxKeyHard-coded Vivox sandbox signing key used only in sandbox mode.

Properties​

MemberWhat it is
string Domain { get; }Vivox domain.
string EndPoint { get; }Vivox server endpoint URL.
string Issuer { get; }Vivox token issuer.

Methods​

MemberWhat it is
async Task<string> GetConnectTokenAsync(IChannelSession session)Gets a token to join the voice channel for the joined server, from the API or signed locally in sandbox mode.
async Task<string> GetLoginAsync(ILoginSession session)Gets a Vivox login token from the API, or signs one locally with the sandbox key in sandbox mode.

Used in​

Members of other types that take, return or hold a VivoxConfiguration: