Class StageConfiguration

java.lang.Object
com.amazonaws.ivs.broadcast.StageConfiguration

@RequiresApi(api=28) public class StageConfiguration extends Object
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 Details

  • Constructor Details

    • StageConfiguration

      public StageConfiguration()
  • Method Details

    • getMixerCanvasSize

      public BroadcastConfiguration.Vec2 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 a IllegalArgumentException will be thrown.
      Parameters:
      width - the desired width in pixels
      height - the desired height in pixels
    • setMixerCanvasSize

      public void setMixerCanvasSize(BroadcastConfiguration.Vec2 size)