Class VivoxAudioTap
Base class of all Vivox Audio Taps
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Services.Vivox.AudioTaps
Assembly: Unity.Services.Vivox.dll
Syntax
[RequireComponent(typeof(AudioSource))]
public abstract class VivoxAudioTap : MonoBehaviour
Properties
AutoAcquireChannel
Specifies whether this VivoxAudioTap should automatically try to acquire a Voice Channel to get audio from. When set to false, the ChannelName property must be set to a valid channel name.
Declaration
public bool AutoAcquireChannel { get; set; }
Property Value
Type | Description |
---|---|
bool |
ChannelName
Accepts a Channel name or Channel URI Translates the display/user friendly version to the internal channel URI Note: Setting a new channel name/Uri will cause a re-registration and disable Auto Acquire Channel.
Declaration
public string ChannelName { get; set; }
Property Value
Type | Description |
---|---|
string |
IsRunning
Returns true if the tap is registered and enabled.
Declaration
public bool IsRunning { get; }
Property Value
Type | Description |
---|---|
bool |
TapId
The tap ID of the registered audio tap. If negative, the tap is currently unregistered or there was an error while attempting registration.
Declaration
[HideInInspector]
public int TapId { get; }
Property Value
Type | Description |
---|---|
int |