Class VoiceSettings
Inheritance
System.Object
VoiceSettings
Namespace: Adrenak.UniVoice
Assembly: cs.temp.dll.dll
Syntax
public class VoiceSettings
Fields
deafenAll
If true, we don't want any peer to listen to us
Declaration
public bool deafenAll
Field Value
Type | Description |
---|---|
System.Boolean |
deafenedPeers
The peers we don't want listening to us
Declaration
public List<int> deafenedPeers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
deafenedTags
The tags, which if associated with a peer, would cause those peers to not receive audio from this client DO NOT USE COMMAS (,)
Declaration
public List<string> deafenedTags
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
muteAll
If true, we don't want to listen to any peer
Declaration
public bool muteAll
Field Value
Type | Description |
---|---|
System.Boolean |
mutedPeers
The peers we don't want to listen to
Declaration
public List<int> mutedPeers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
mutedTags
The tags, which if associated with a peer, would cause those the audio of that peer to not be send to this peer DO NOT USE COMMAS (,)
Declaration
public List<string> mutedTags
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
myTags
The tags associated with this client. DO NOT USE COMMAS (,)
Declaration
public List<string> myTags
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Methods
SetDeaf(Int32, Boolean)
Sets the deaf status of a peer
Declaration
public void SetDeaf(int peerId, bool state)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | peerId | |
System.Boolean | state |
SetMute(Int32, Boolean)
Sets the mute status of a peer
Declaration
public void SetMute(int peerId, bool state)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | peerId | |
System.Boolean | state |