MediaDevice
@objcMembers
public class MediaDevice : NSObjectMediaDevice represents an IOS audio/video device.
- 
                  
                  Label of MediaDevice DeclarationSwift public let label: String
- 
                  
                  Type of MediaDevice (ex: Bluetooth Audio, Front Camera) DeclarationSwift public let type: MediaDeviceType
- 
                  
                  Audio Information based on iOS native AVAudioSessionPortDescriptionIt will be null when it represent a video device.DeclarationSwift public let port: AVAudioSessionPortDescription?
- 
                  
                  List available video capture devices from the hardware DeclarationSwift public static func listVideoDevices() -> [MediaDevice]
- 
                  
                  List available VideoCaptureFormatfrom the video capture device. This methods returns an empty array forMediaDevicethat’s not used for video.DeclarationSwift public static func listSupportedVideoCaptureFormats(mediaDevice: MediaDevice) -> [VideoCaptureFormat]ParametersmediaDeviceVideo capture device to query 
- 
                  
                  List available VideoCaptureFormatfrom the video capture device. This methods returns an empty array forMediaDevicethat’s not used for video.DeclarationSwift public static func listSupportedVideoCaptureFormats(mediaDevice: MediaDevice, videoMaxResolution: VideoResolution) -> [VideoCaptureFormat]ParametersmediaDeviceVideo capture device to query 
- 
                  
                  DeclarationSwift public init(label: String, type: MediaDeviceType)
- 
                  
                  DeclarationSwift public init(label: String, port: AVAudioSessionPortDescription? = nil)
- 
                  
                  DeclarationSwift override public var description: String { get }
