MediaDeviceCriteria
static class NatML.Devices.MediaDeviceCriteria
NatDevice includes a set of pre-defined filters which are commonly used to discover devices.
Media Type
Audio Devices
This will filter for AudioDevice
instances.
Camera Devices
This will filter for CameraDevice
instances.
Device Location
Internal Devices
This will filter for internal media devices.
External Devices
This will filter for external media devices.
Default Device
This will filter for devices that are marked as being the defaultForMediaType
.
For a given media device type, a default device is not guaranteed to exist. As a result, do not expect to always discover a default device.
Audio Devices
Echo Cancellation
This will filter for audio devices that perform echo cancellation.
Camera Devices
Rear Facing Cameras
This will filter for camera devices that are rear-facing.
Front Facing Cameras
This will filter for camera devices that are front-facing.
Torch Enabled Cameras
This will filter for camera devices that possess torch units.
Combining Criteria
Any
This will filter for media devices that meet any of the provided criteria.
All
This will filter for media devices that meet all of the provided criteria.
Last updated