Partilhar via


AudioVideoFlowTemplate.EncryptionPolicy Property

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.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property EncryptionPolicy As MediaEncryption
    Get
    Set
'Usage
Dim instance As AudioVideoFlowTemplate
Dim value As MediaEncryption

value = instance.EncryptionPolicy

instance.EncryptionPolicy = value
public MediaEncryption EncryptionPolicy { get; set; }

Property Value

Type: Microsoft.Rtc.Collaboration.AudioVideo.MediaEncryption

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when assigned value is not defined in enumerated type.

See Also

Reference

AudioVideoFlowTemplate Class

AudioVideoFlowTemplate Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace