public static class CameraMediaSourceConfiguration.Builder extends java.lang.Object implements com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration.Builder<CameraMediaSourceConfiguration>
Constructor and Description |
---|
Builder() |
public CameraMediaSourceConfiguration.Builder withEncodingMimeType(java.lang.String mimeType)
public CameraMediaSourceConfiguration.Builder withRetentionPeriodInHours(int retentionPeriodInHours)
public CameraMediaSourceConfiguration.Builder withFrameRate(int frameRate)
public CameraMediaSourceConfiguration.Builder withFileOutput(java.lang.String outputFileName)
public CameraMediaSourceConfiguration.Builder withCameraId(java.lang.String cameraId)
public CameraMediaSourceConfiguration.Builder withHorizontalResolution(int horizontalResolution)
public CameraMediaSourceConfiguration.Builder withVerticalResolution(int verticalResolution)
public CameraMediaSourceConfiguration.Builder withCameraFacing(int facing)
public CameraMediaSourceConfiguration.Builder withCameraOrientation(int orientation)
public CameraMediaSourceConfiguration.Builder withEncodingBitRate(int bitrate)
public CameraMediaSourceConfiguration.Builder withIsEncoderHardwareAccelerated(boolean isAccelerated)
public CameraMediaSourceConfiguration.Builder withCodecPrivateData(byte[] privateData)
public CameraMediaSourceConfiguration.Builder withFrameTimeScale(long timescale)
public CameraMediaSourceConfiguration.Builder withGopDurationMillis(int gopDuration)
public CameraMediaSourceConfiguration.Builder withNalAdaptationFlags(StreamInfo.NalAdaptationFlags nalAdaptationFlags)
public CameraMediaSourceConfiguration.Builder withIsAbsoluteTimecode(boolean isAbsoluteTimecode)
public java.lang.String getMimeType()
public int getFrameRate()
public int getmRetentionPeriodInHours()
public int getHorizontalResolution()
public int getVerticalResolution()
public java.lang.String getOutputFileName()
public java.lang.String getCameraId()
public int getCameraFacing()
public int getCameraOrientation()
public int getEncodingBitrate()
public boolean isEncoderHardwareAccelerated()
public int getGopDurationMillis()
public byte[] getCodecPrivateData()
public long getFrameTimescale()
public StreamInfo.NalAdaptationFlags getNalAdaptationFlags()
public CameraMediaSourceConfiguration build()
build
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceConfiguration.Builder<CameraMediaSourceConfiguration>
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.