MediaDevice lets your iOS app discover, connect to, and manage external media capture devices, handling authorization and session lifecycle along the way. You represent a connected device with MediaOutputDevice and drive its capture work through a MediaOutputSession, surfacing failures as a MediaDeviceError. To extend the system with a custom device, you conform to the MediaDeviceExtensionConfiguration protocol.
Devices and Sessions 2
Represent a connected external capture device and drive its capture work through a session.
- StMediaOutputDeviceRepresents a discoverable media output device such as a TV, speaker, or streaming stick.
- ClMediaOutputSessionRepresents a media output session for playing content on a remote device.
Extending the System 1
Configure a custom device extension to add new capture devices to the system.
- PrMediaDeviceExtensionConfigurationConfiguration for the app extension.
Errors 1
Inspect failures that occur while discovering, connecting to, or managing devices.
- StMediaDeviceErrorAn error returned by MediaDeviceExtension operations.
Classes 1
- ClMediaDeviceRoutingManagerAn object used by a ``MediaDeviceExtension`` to report device discovery, state changes, and playback events back to the system.
Protocols 2
- PrMediaDeviceExtensionA protocol that defines the requirements of a media device extension that discovers, activates, and plays media on a remote device.
- PrRealtimeSampleHandlingA protocol that extends a media device extension to support realtime sample delivery.