public class CameraMediaSourceConfiguration extends 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 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.
|
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.
|
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
|
String |
getMediaSourceDescription() |
String |
getMediaSourceType() |
StreamInfo.NalAdaptationFlags |
getNalAdaptationFlags()
Get the Nal Adaption Flag
|
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 String MEDIA_SOURCE_TYPE
public CameraMediaSourceConfiguration(CameraMediaSourceConfiguration.Builder builder)
public String getMediaSourceType()
getMediaSourceType in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfigurationpublic String getMediaSourceDescription()
getMediaSourceDescription in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfigurationpublic static CameraMediaSourceConfiguration.Builder builder()
public String getCameraId()
public int getCameraFacing()
public int getCameraOrientation()
public int getHorizontalResolution()
public int getVerticalResolution()
public String getOutputFileName()
public int getFrameRate()
public int getRetentionPeriodInHours()
public int getBitRate()
@NonNull public String getEncoderMimeType()
public int getGopDurationMillis()
public boolean isEndcoderHardwareAccelerated()
@Nullable public byte[] getCodecPrivateData()
public long getTimeScale()
public StreamInfo.NalAdaptationFlags getNalAdaptationFlags()
public boolean getIsAbsoluteTimecode()
Copyright © 2019. All rights reserved.