AudioChannelTemplate.ReceiveDirectionSamplingRate Property
Gets or sets the Sampling Rate for the receive direction.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property ReceiveDirectionSamplingRate As AudioSamplingRate
Get
Set
'Usage
Dim instance As AudioChannelTemplate
Dim value As AudioSamplingRate
value = instance.ReceiveDirectionSamplingRate
instance.ReceiveDirectionSamplingRate = value
public AudioSamplingRate ReceiveDirectionSamplingRate { get; set; }
Property Value
Type: Microsoft.Rtc.Collaboration.AudioVideo.AudioSamplingRate
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when assigned value is not defined in enumerated type. |
Remarks
This restriction prevents the application from enabling audio formats on the send direction of the audio channel which are not enabled on the receive direction. Otherwise, allowing such a configuration might cause a failure in which media from the peer endpoint could not be received.