RealtimeAudioFormat Class
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.
Represents options for configuring real-time audio.
public ref class RealtimeAudioFormat
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class RealtimeAudioFormat
public class RealtimeAudioFormat
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type RealtimeAudioFormat = class
type RealtimeAudioFormat = class
Public Class RealtimeAudioFormat
- Inheritance
-
RealtimeAudioFormat
- Attributes
Constructors
| Name | Description |
|---|---|
| RealtimeAudioFormat(String, Int32) |
Initializes a new instance of the RealtimeAudioFormat class. |
Properties
| Name | Description |
|---|---|
| MediaType |
Gets the media type of the audio (e.g., "audio/pcm", "audio/pcmu", "audio/pcma"). |
| SampleRate |
Gets the sample rate of the audio in Hertz. |