Package com.amazonaws.ivs.broadcast
Class JitterBufferConfiguration
java.lang.Object
com.amazonaws.ivs.broadcast.JitterBufferConfiguration
Configuration properties for a jitter buffer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A custom jitter buffer delay configuration.static class
A jitter buffer delay configuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the jitter buffer minimum delay for subscribing.
-
Constructor Details
-
JitterBufferConfiguration
public JitterBufferConfiguration()
-
-
Method Details
-
getMinDelay
- Returns:
- The current jitter buffer minimum delay. By default this is JitterBufferDelay.DEFAULT.
-
setMinDelay
Sets the jitter buffer minimum delay for subscribing. This value must be a preset or explicit value between 0 and 10k. If the provided delay falls outside this range, the delay will not be set and anIllegalArgumentException
will be thrown.- Parameters:
minDelay
- the desired jitter buffer minimum delay- Throws:
IllegalArgumentException
- if delay is not valid
-