Class DeviceAudioTrackSource
Implementation of an audio track source producing frames captured from an audio capture device (microphone).
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public class DeviceAudioTrackSource : AudioTrackSource
Methods
| Improve this Doc View SourceCreateAsync(LocalAudioDeviceInitConfig)
Create an audio track source using a local audio capture device (microphone).
Declaration
public static Task<DeviceAudioTrackSource> CreateAsync(LocalAudioDeviceInitConfig initConfig = null)
Parameters
Type | Name | Description |
---|---|---|
LocalAudioDeviceInitConfig | initConfig | Optional configuration to initialize the audio capture on the device. |
Returns
Type | Description |
---|---|
Task<DeviceAudioTrackSource> | The newly create audio track source. |
See Also
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |