Package com.amazonaws.ivs.broadcast
Class StageConfiguration
java.lang.Object
com.amazonaws.ivs.broadcast.StageConfiguration
Properties for Stage. If the application does not support Stage, use the default properties.
They will have no effect outside of Stage use cases.
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMixerCanvasSize
(int width, int height) Sets the frame image size for the video stream.void
-
Field Details
-
videoConfiguration
-
audioConfiguration
-
mixer
-
-
Constructor Details
-
StageConfiguration
public StageConfiguration()
-
-
Method Details
-
getMixerCanvasSize
-
setMixerCanvasSize
public void setMixerCanvasSize(int width, int height) Sets the frame image size for the video stream. The width and height must both be between 160 and 1920, and the maximum total number of pixels is 2,073,600. So the smallest size you can provide is 160x160, and the largest is either 1080x1920 or 1920x1080. However something like 1920x1200 would not be supported. 1280x180 however is supported. If these restrictions are violated aIllegalArgumentException
will be thrown.- Parameters:
width
- the desired width in pixelsheight
- the desired height in pixels
-
setMixerCanvasSize
-