Class VivoxParticipant
Representation of a player that is in a Vivox voice and/or text channel.
Inherited Members
Namespace: Unity.Services.Vivox
Assembly: solution.dll
Syntax
public sealed class VivoxParticipant
Properties
Name | Description |
---|---|
Audio |
The AudioEnergy of the participant. This can be used to create a voice activity meter for participants in a channel. |
Channel |
The unique identifier of the channel that this participant is associated with. |
Channel |
The universal resource identifier of the channel this participant is associated with. |
Display |
The DisplayName of the participant. |
Is |
Whether or not this participant is muted. |
Is |
Whether or not this participant is the logged in user. |
Local |
The volume of a participant only for the local user in a given channel. |
Participant |
The AudioSource component of a Vivox |
Player |
The PlayerId and unique identifier of a Vivox channel participant. This will be either a Unity Authentication Service PlayerId if the Authentication package is in use, or a unique GUID assigned by Vivox during the account creation process. |
Speech |
Whether or not the AudioEnergy has surpassed the threshold to be considered speech. |
URI | The Vivox universal resource identifier of this participant. |
Methods
Name | Description |
---|---|
Create |
Creates a GameObject containing the VivoxParticipantTap and AudioSource for this VivoxParticipant |
Destroy |
Destroys the GameObject containing the VivoxParticipantTap for this VivoxParticipant and sets the AudioSource to null |
Mute |
Sets this participant as muted for the local user only in the channel associated with this participant.
In order to mute this player across multiple channels you will need to iterate over Active |
Set |
Sets the volume of a participant for the local user only in the channel associated with this participant.
In order to adjust the volume of this player across multiple channels you will need to iterate over Active |
Unmute |
Sets this participant as unmuted for the local user only in the channel associated with this participant.
In order to unmute this player across multiple channels you will need to iterate over Active |
Events
Name | Description |
---|---|
Participant |
An event that fires if the Participants audio energy changes. |
Participant |
An event that fires if the mute state of the participant changes. |
Participant |
An event that fires if the Participant's speech detected status changes. |