Edit

Share via


AudioVideoFlowTemplate Class

Definition

The AudioVideoFlowTemplate is used to configure changes that must be made on AudioVideoFlow.

public ref class AudioVideoFlowTemplate
public class AudioVideoFlowTemplate
type AudioVideoFlowTemplate = class
Public Class AudioVideoFlowTemplate
Inheritance
AudioVideoFlowTemplate
Derived

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



Constructors

AudioVideoFlowTemplate()

Creates a new instance of the AudioVideoFlowTemplate class.

AudioVideoFlowTemplate(AudioVideoFlow)

Creates a new instance of the AudioVideoFlowTemplate class, based on the current state.

Properties

Audio

Gets the AudioControlTemplate.

EncryptionPolicy

Gets or sets the encryption policy.

The EncryptionPolicy may be applied to an AudioVideoFlow by calling the AudioVideoFlow's Initialize method.

It is recommended that an EncryptionPolicy value of either Required or Optional be applied to secure media communications. However, the EncryptionPolicy applied via an AudioVideoFlowTemplate may be superseded by an encryption policy set by administration configuration.

HoldType

Gets or sets the initial hold policy for the AudioVideoFlow.

TonePolicy

Gets or sets the tone policy.

Applies to