public class CameraUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getCameraIds(android.content.Context context) |
static java.util.List<CameraMediaSourceConfiguration> |
getCameras(KinesisVideoClient kinesisVideoClient)
Lists only cameras by getting known media sources known to the KinesisVideoClient
|
static java.util.List<com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration.Builder<? extends com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration>> |
getSupportedCameraConfigrations(android.content.Context context)
Tries to find a supported configuration for each camera on the device
|
static java.util.List<android.util.Size> |
getSupportedResolutions(android.content.Context context,
java.lang.String cameraId)
Queries the Android camera API for supported resolutions for given camera id.
|
public static java.util.List<android.util.Size> getSupportedResolutions(android.content.Context context, java.lang.String cameraId)
public static java.util.List<CameraMediaSourceConfiguration> getCameras(KinesisVideoClient kinesisVideoClient)
public static java.util.List<com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration.Builder<? extends com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration>> getSupportedCameraConfigrations(android.content.Context context)
public static java.lang.String[] getCameraIds(android.content.Context context)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.