Package com.amazonaws.ivs.broadcast
Class StageConfiguration
- java.lang.Object
- 
- com.amazonaws.ivs.broadcast.StageConfiguration
 
- 
 @RequiresApi(api=28) public class StageConfiguration extends java.lang.ObjectProperties for Stage. If the application does not support Stage, use the default properties. They will have no effect outside of Stage use cases.
- 
- 
Field SummaryFields Modifier and Type Field Description StageAudioConfigurationaudioConfigurationBroadcastConfiguration.MixermixerStageVideoConfigurationvideoConfiguration
 - 
Constructor SummaryConstructors Constructor Description StageConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BroadcastConfiguration.Vec2getMixerCanvasSize()voidsetMixerCanvasSize(int width, int height)Sets the frame image size for the video stream.voidsetMixerCanvasSize(BroadcastConfiguration.Vec2 size)
 
- 
- 
- 
Field Detail- 
videoConfigurationpublic StageVideoConfiguration videoConfiguration 
 - 
audioConfigurationpublic StageAudioConfiguration audioConfiguration 
 - 
mixerpublic BroadcastConfiguration.Mixer mixer 
 
- 
 - 
Method Detail- 
getMixerCanvasSizepublic BroadcastConfiguration.Vec2 getMixerCanvasSize() 
 - 
setMixerCanvasSizepublic 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 aIllegalArgumentExceptionwill be thrown.- Parameters:
- width- the desired width in pixels
- height- the desired height in pixels
 
 - 
setMixerCanvasSizepublic void setMixerCanvasSize(BroadcastConfiguration.Vec2 size) 
 
- 
 
-