AudioChannel.SamplingRate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for