Gets the audio sampling rate(s) currently in
effect on the channel.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Property SamplingRate As AudioSamplingRate |
C# |
---|
public AudioSamplingRate SamplingRate { get; internal set; } |
Visual C++ |
---|
public: virtual property AudioSamplingRate SamplingRate { AudioSamplingRate get () sealed; void set ( AudioSamplingRate value) sealed; } |
JavaScript |
---|
function get_ samplingRate(); function set_ samplingRate( 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.