new MediaDevice()
Methods
-
getCapabilities()
-
Returns device capabities
Returns:
- Type
- MediaTrackCapabilities
-
getId()
-
Returns device id
Returns:
- Type
- string
-
getLabel()
-
Returns device label
Returns:
- Type
- string
-
getType()
-
Returns device type
Returns:
- Type
- string
-
isAudioOutput()
-
Is the mediaDevice an audio output
Returns:
- Type
- boolean
-
isCamera()
-
Is the mediaDevice a camera?
Returns:
- Type
- boolean
-
isMicrophone()
-
Is the mediaDevice an audio source
Returns:
- Type
- boolean