Package com.amazonaws.ivs.broadcast
Class Device.Descriptor
java.lang.Object
com.amazonaws.ivs.broadcast.Device.Descriptor
- Enclosing class:
- Device
Represents an input device's description. This can be used to identify the device
without opening or attaching it.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
Physical device positionstatic enum
Media types present in a stream -
Field Summary
Modifier and TypeFieldDescriptionMicrophone audio formatandroid.hardware.camera2.CameraCharacteristics
Android-specific characteristics for camerasint
Microphone channel countstatic final String
System deviceId.A human-readable nameboolean
Default device indicatorint
int
Camera pixel dimensionsThe physical location of the device, if it can be determinedfloat
Camera rotationint
Microphone sample rateThe types of streams supported by the deviceThe device type or familyUnique device locator. -
Constructor Summary
-
Method Summary
-
Field Details
-
deviceId
System deviceId. These may not be unique as the system may reuse device ids for different types -
urn
Unique device locator. this will be unique but it may be generated internally and may not match system addresses. -
friendlyName
A human-readable name -
type
The device type or family -
streams
The types of streams supported by the device -
position
The physical location of the device, if it can be determined -
cameraCharacteristics
public android.hardware.camera2.CameraCharacteristics cameraCharacteristicsAndroid-specific characteristics for cameras -
pixelWidth
public int pixelWidthCamera pixel dimensions -
pixelHeight
public int pixelHeight -
rotation
public float rotationCamera rotation -
sampleRate
public int sampleRateMicrophone sample rate -
channelCount
public int channelCountMicrophone channel count -
audioFormat
Microphone audio format -
isDefault
public boolean isDefaultDefault device indicator -
DEFAULT_ID
- See Also:
-
-
Constructor Details
-
Descriptor
public Descriptor()
-
-
Method Details
-
hasStream
-
isValid
public boolean isValid()
-