Package com.amazonaws.ivs.broadcast
Class SubscribeConfiguration
java.lang.Object
com.amazonaws.ivs.broadcast.SubscribeConfiguration
Configuration properties for subscribing
-
Field Summary
Modifier and TypeFieldDescriptionJitter buffer configurationSubscribe simulcast configuration -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
The initial gain that will be set on any incoming audio streams.void
setInitialGain
(float initialGain) Set the initial gain to set on any incoming audio streams.
-
Field Details
-
jitterBuffer
Jitter buffer configuration -
simulcast
Subscribe simulcast configuration
-
-
Constructor Details
-
SubscribeConfiguration
public SubscribeConfiguration()
-
-
Method Details
-
getInitialGain
public float getInitialGain()The initial gain that will be set on any incoming audio streams. By default this value will be 1.0.- Returns:
- The initial gain that will be set on any incoming audio streams.
-
setInitialGain
public void setInitialGain(float initialGain) Set the initial gain to set on any incoming audio streams. This can be used to mute streams (by setting a gain of 0) before any audio samples have a chance to be played.- Parameters:
initialGain
- the gain (clamped between 0 and 2) to set on any incoming audio streams.
-