Sdílet prostřednictvím


AudioChannelTemplate.SamplingRate Property

Gets or sets the Sampling Rate of the send and receive streams.

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

Syntax

'Declaration
Public Property SamplingRate As AudioSamplingRate
    Get
    Set
'Usage
Dim instance As AudioChannelTemplate
Dim value As AudioSamplingRate

value = instance.SamplingRate

instance.SamplingRate = value
public AudioSamplingRate SamplingRate { 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

Setting this property applies the same value to both the SendDirectionSamplingRate and ReceiveDirectionSamplingRate properties.

The value returned when getting this property is the combination of the SendDirectionSamplingRate and ReceiveDirectionSamplingRate properties.

See Also

Reference

AudioChannelTemplate Class

AudioChannelTemplate Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace