Package org.jitsi.impl.neomedia.device
Class CaptureDevices
- java.lang.Object
-
- org.jitsi.impl.neomedia.device.Devices
-
- org.jitsi.impl.neomedia.device.CaptureDevices
-
public class CaptureDevices extends Devices
Manages the list of active (currently plugged-in) capture devices and manages user preferences between all known devices (previously and actually plugged-in).- Author:
- Vincent Lucas
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_DEVICEThe property of the capture devices.
-
Constructor Summary
Constructors Constructor Description CaptureDevices(AudioSystem audioSystem)Initializes the capture device list management.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CaptureDeviceInfo2>getDevices()Returns the list of the CaptureDeviceInfo2s which are active/plugged-in.protected StringgetPropDevice()Returns the property of the capture devices.voidsetDevices(List<CaptureDeviceInfo2> devices)Sets the list of CaptureDeviceInfo2s which are active/plugged-in.-
Methods inherited from class org.jitsi.impl.neomedia.device.Devices
getDevice, getSelectedDevice, setDevice
-
-
-
-
Field Detail
-
PROP_DEVICE
public static final String PROP_DEVICE
The property of the capture devices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CaptureDevices
public CaptureDevices(AudioSystem audioSystem)
Initializes the capture device list management.- Parameters:
audioSystem- The audio system managing this capture device list.
-
-
Method Detail
-
getDevices
public List<CaptureDeviceInfo2> getDevices()
Returns the list of the CaptureDeviceInfo2s which are active/plugged-in.- Overrides:
getDevicesin classDevices- Returns:
- the list of the CaptureDeviceInfo2s which are active/plugged-in
-
getPropDevice
protected String getPropDevice()
Returns the property of the capture devices.- Specified by:
getPropDevicein classDevices- Returns:
- The property of the capture devices.
-
setDevices
public void setDevices(List<CaptureDeviceInfo2> devices)
Sets the list of CaptureDeviceInfo2s which are active/plugged-in.- Overrides:
setDevicesin classDevices- Parameters:
devices- the list of CaptureDeviceInfo2s which are active/plugged-in
-
-