Package com.amazonaws.ivs.broadcast
Class StageVideoConfiguration.Simulcast
java.lang.Object
com.amazonaws.ivs.broadcast.StageVideoConfiguration.Simulcast
- Enclosing class:
StageVideoConfiguration
Simulcast configuration. Currently only enable/disable simulcast is allowed
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether simulcast is enabled.void
setEnabled
(boolean enable) void
Sets the layers for the publishing video stream.
-
Method Details
-
isEnabled
public boolean isEnabled()Whether simulcast is enabled. -
setEnabled
public void setEnabled(boolean enable) -
getLayers
- Returns:
- The current layers. By default this is an empty list.
-
setLayers
Sets the layers for the publishing video stream. The number of layers must be 3 or less. Each layer must have different configurations. maxBitrate, size and targetFramerate must be set on each layer. If the provided layers are invalid, the layers will not be set and anIllegalArgumentException
will be thrown. If no layers are defined, the default internal layer configurations is used.- Parameters:
layers
- the desired layers
-