AudioControl.Unmute(MuteDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unmutes the audio.
public:
void Unmute(Microsoft::Rtc::Collaboration::AudioVideo::MuteDirection direction);
public void Unmute (Microsoft.Rtc.Collaboration.AudioVideo.MuteDirection direction);
member this.Unmute : Microsoft.Rtc.Collaboration.AudioVideo.MuteDirection -> unit
Public Sub Unmute (direction As MuteDirection)
Parameters
- direction
- MuteDirection
The direction to unmute.
Exceptions
Thrown when the AudioVideoFlow is not in the Active state or when there is no audio channel.
Thrown when the direction specified is invalid.
Thrown when the direction specified is not a value in the MuteDirection enumerated type.
Examples
The following example unmutes the call.
C# Unmuting a call.
audioVideoFlow.Audio.Unmute(MuteDirection.Send);