Class MultiTrackMediaSourceConfiguration.Builder<T extends MultiTrackMediaSourceConfiguration.Builder<T>>
- java.lang.Object
-
- com.amazonaws.kinesisvideo.internal.mediasource.multitrack.MultiTrackMediaSourceConfiguration.Builder<T>
-
- All Implemented Interfaces:
MediaSourceConfiguration.Builder<MultiTrackMediaSourceConfiguration>
- Direct Known Subclasses:
AudioVideoFileMediaSourceConfiguration.Builder
- Enclosing class:
- MultiTrackMediaSourceConfiguration
public static class MultiTrackMediaSourceConfiguration.Builder<T extends MultiTrackMediaSourceConfiguration.Builder<T>> extends Object implements MediaSourceConfiguration.Builder<MultiTrackMediaSourceConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanabsoluteTimecodeprotected booleanallowStreamCreationprotected longbufferDurationprotected StringcontentTypeprotected intfpsprotected longlatencyPressureprotected longreplayDurationprotected longretentionPeriodInHoursprotected longstalenessDurationprotected longtimecodeScaleprotected TrackInfo[]trackInfoList
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiTrackMediaSourceConfigurationbuild()TwithAbsoluteTimecode(boolean absoluteTimecode)TwithAllowStreamCreation(boolean allowStreamCreation)TwithBufferDuration(long bufferDuration)TwithContentType(String contentType)TwithFps(int fps)TwithLatencyPressure(long latencyPressure)TwithNalAdaptationFlag(StreamInfo.NalAdaptationFlags nalAdaptationFlag)TwithReplayDuration(long replayDuration)TwithRetentionPeriodInHours(long retentionPeriodInHours)TwithStalenessDuration(long stalenessDuration)TwithTimecodeScale(long timecodeScale)TwithTrackInfoList(TrackInfo[] trackInfoList)
-
-
-
Field Detail
-
fps
protected int fps
-
retentionPeriodInHours
protected long retentionPeriodInHours
-
latencyPressure
protected long latencyPressure
-
stalenessDuration
protected long stalenessDuration
-
bufferDuration
protected long bufferDuration
-
replayDuration
protected long replayDuration
-
timecodeScale
protected long timecodeScale
-
contentType
protected String contentType
-
trackInfoList
protected TrackInfo[] trackInfoList
-
absoluteTimecode
protected boolean absoluteTimecode
-
allowStreamCreation
protected boolean allowStreamCreation
-
-
Method Detail
-
withAbsoluteTimecode
public T withAbsoluteTimecode(boolean absoluteTimecode)
-
withFps
public T withFps(int fps)
-
withRetentionPeriodInHours
public T withRetentionPeriodInHours(long retentionPeriodInHours)
-
withLatencyPressure
public T withLatencyPressure(long latencyPressure)
-
withStalenessDuration
public T withStalenessDuration(long stalenessDuration)
-
withReplayDuration
public T withReplayDuration(long replayDuration)
-
withBufferDuration
public T withBufferDuration(long bufferDuration)
-
withTimecodeScale
public T withTimecodeScale(long timecodeScale)
-
withNalAdaptationFlag
public T withNalAdaptationFlag(StreamInfo.NalAdaptationFlags nalAdaptationFlag)
-
withAllowStreamCreation
public T withAllowStreamCreation(boolean allowStreamCreation)
-
build
public MultiTrackMediaSourceConfiguration build()
- Specified by:
buildin interfaceMediaSourceConfiguration.Builder<T extends MultiTrackMediaSourceConfiguration.Builder<T>>
-
-