Edit

Share via


AudioControl.Unmute(MuteDirection) Method

Definition

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);



Applies to