Share via


AudioChannel.ReceiveDirectionSamplingRate Property

Gets the audio sampling rate(s) currently in effect on the receive direction of the channel.

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

Syntax

'Declaration
Public Property ReceiveDirectionSamplingRate As AudioSamplingRate
    Get
    Friend Set
'Usage
Dim instance As AudioChannel
Dim value As AudioSamplingRate

value = instance.ReceiveDirectionSamplingRate
public AudioSamplingRate ReceiveDirectionSamplingRate { get; internal set; }

Property Value

Type: Microsoft.Rtc.Collaboration.AudioVideo.AudioSamplingRate

Remarks

This value may change during the lifetime of the call; use the AudioVideoFlow's ConfigurationChanged event to requery the current value of this property.

If the property value is the combination of both AudioSamplingRate.EightKhz and AudioSamplingRate.SixteenKhz, media may be received from the peer in either narrowband (8Khz) or wideband (16Khz) formats, and the application cannot assume which will be used.

See Also

Reference

AudioChannel Class

AudioChannel Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace