AudioVideoFlowTemplate Class
The AudioVideoFlowTemplate is used to configure changes that must be made on AudioVideoFlow.
Inheritance Hierarchy
System.Object
Microsoft.Rtc.Collaboration.AudioVideo.AudioVideoFlowTemplate
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Class AudioVideoFlowTemplate
'Usage
Dim instance As AudioVideoFlowTemplate
public class AudioVideoFlowTemplate
Examples
The following example instantiates an AudioVideoFlowTemplate based on the current AudioVideoFlow and initializes the AudioVideoFlow turning off tone support.
C# Instantiating an AudioVideoFlowTemplate.
audioVideoCall.AudioVideoFlowConfigurationRequested += delegate(object sender, AudioVideoFlowConfigurationRequestedEventArgs args)
{
AudioVideoFlow avFlow = (AudioVideoFlow)sender;
AudioVideoFlowTemplate template = new AudioVideoFlowTemplate(avFlow);
template.TonePolicy = TonePolicy.NotSupported;
avFlow.Initialize(template);
};
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.