Edit

Share via


AudioChannel.SamplingRate Property

Definition

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

public:
 property Microsoft::Rtc::Collaboration::AudioVideo::AudioSamplingRate SamplingRate { Microsoft::Rtc::Collaboration::AudioVideo::AudioSamplingRate get(); };
public Microsoft.Rtc.Collaboration.AudioVideo.AudioSamplingRate SamplingRate { get; }
member this.SamplingRate : Microsoft.Rtc.Collaboration.AudioVideo.AudioSamplingRate
Public ReadOnly Property SamplingRate As AudioSamplingRate

Property Value

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 exchanged with the peer in either narrowband (8Khz) or wideband (16Khz) formats, and the application cannot assume which will be used.

The value of this property combines the sampling rates of the send and receive directions: the application is recommended to consult the SendDirectionSamplingRate and ReceiveDirectionSamplingRate properties instead, as they provide more accurate information.

Applies to