Method SetLocalVolume
SetLocalVolume(int)
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 ActiveChannels. Similar participants will have a matching PlayerId as the current VivoxParticipant. This only affects the audio that is heard locally, and does not change the audio that is heard by any of the other participants in a channel. Volume value is clamped between -50 and 50 with a default of 0.
Declaration
public void SetLocalVolume(int volume)
Parameters
Type | Name | Description |
---|---|---|
int | volume | The value to set the participant to for the local user - clamped between -50 and 50 with a default of 0 |