public interface MediaDevices extends EngineService, Advisable<MediaCallback>
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaDevice> |
list(MediaDeviceType type)
Returns an immutable list of the details about all the available media input devices of the
given
type or an empty collection if there are no devices of the given type . |
engine
java.util.List<MediaDevice> list(MediaDeviceType type)
type
or an empty collection if there are no devices of the given type
.
The list of devices is equal to the list you can see after navigating to the WebRTC input-output sample.
type
- a media input device typejava.lang.IllegalStateException
- when the engine is closed