Returns a QTCaptureDevice instance for the default device connected to the user’s system of the given media type.
Original signature is '+ (QTCaptureDevice *)defaultInputDeviceWithMediaType:(NSString *)mediaType'
Available in 5 and later.

C# | Visual Basic | Visual C++ |
public static QTCaptureDevice DefaultInputDeviceWithMediaType( NSString mediaType )
Public Shared Function DefaultInputDeviceWithMediaType ( _ mediaType As NSString _ ) As QTCaptureDevice
public: static QTCaptureDevice^ DefaultInputDeviceWithMediaType( NSString^ mediaType )

- mediaType (NSString)
- The media type, such as QTMediaTypeVideo, QTMediaTypeSound, or QTMediaTypeMuxed, supported by the returned device.

The default device with the given media type on the user’s system, or NIL if no device with that media type exists.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)