public class CameraMediaSourceConfiguration
extends java.lang.Object
implements com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
CameraMediaSourceConfiguration.Builder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEDIA_SOURCE_TYPE |
Constructor and Description |
---|
CameraMediaSourceConfiguration(CameraMediaSourceConfiguration.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static CameraMediaSourceConfiguration.Builder |
builder() |
int |
getBitRate()
Gets the encoding bitrate.
|
int |
getCameraFacing()
Gets the camera facing front or back.
|
java.lang.String |
getCameraId()
Returns the ID of the camera
|
int |
getCameraOrientation()
Gets the orientation of the camera in degrees.
|
byte[] |
getCodecPrivateData()
Gets the codec private data.
|
java.lang.String |
getEncoderMimeType()
Gets the encoder mime type.
|
int |
getFrameRate()
Gets the frame rate of the camera.
|
int |
getGopDurationMillis()
Gets the GOP (group-of-pictures) duration in milliseconds.
|
int |
getHorizontalResolution()
Gets the horizontal resolution.
|
boolean |
getIsAbsoluteTimecode()
Get if timecode is absolute or not
|
java.lang.String |
getMediaSourceDescription() |
java.lang.String |
getMediaSourceType() |
StreamInfo.NalAdaptationFlags |
getNalAdaptationFlags()
Get the Nal Adaption Flag
|
java.lang.String |
getOutputFileName()
Gets the output file name.
|
int |
getRetentionPeriodInHours()
Gets the retention period in hours
|
long |
getTimeScale()
Gets the timescale
|
int |
getVerticalResolution()
Gets the vertical resolution.
|
boolean |
isEndcoderHardwareAccelerated()
Whether the encoder is hardware accelerated.
|
public static final java.lang.String MEDIA_SOURCE_TYPE
public CameraMediaSourceConfiguration(CameraMediaSourceConfiguration.Builder builder)
public java.lang.String getMediaSourceType()
getMediaSourceType
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration
public java.lang.String getMediaSourceDescription()
getMediaSourceDescription
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration
public static CameraMediaSourceConfiguration.Builder builder()
public java.lang.String getCameraId()
public int getCameraFacing()
public int getCameraOrientation()
public int getHorizontalResolution()
public int getVerticalResolution()
public java.lang.String getOutputFileName()
public int getFrameRate()
public int getRetentionPeriodInHours()
public int getBitRate()
public java.lang.String getEncoderMimeType()
public int getGopDurationMillis()
public boolean isEndcoderHardwareAccelerated()
public byte[] getCodecPrivateData()
public long getTimeScale()
public StreamInfo.NalAdaptationFlags getNalAdaptationFlags()
public boolean getIsAbsoluteTimecode()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.