OBJECT

BroadcastInput

The input to the broadcast.

link GraphQL Schema definition

  • type BroadcastInput {
  • # The broadcast input ID.
  • id: ID!
  • # The broadcast input type.
  • inputType: ENUM_BROADCASTINPUT
  • # The video input. Set to 1 to use SDI or 2 for HDMI.
  • videoInput: Int
  • # The maximum video capture frame width. If larger, the video frame is scaled to
  • # this width.
  • videoFrameWidthMax: Int
  • # The maximum video capture frame height. If larger, the video frame is scaled to
  • # this height.
  • videoFrameHeightMax: Int
  • # The left bound of the video frame crop rectangle in pixels. Ignored if
  • # videoFrameCropWidth and videoFrameCropHeight are not also specified.
  • videoFrameCropLeft: Int
  • # The top bound of the video frame crop rectangle in pixels. Ignored if
  • # videoFrameCropWidth and videoFrameCropHeight are not also specified.
  • videoFrameCropTop: Int
  • # The width of the video frame crop rectangle in pixels. Ignored if
  • # videoFrameCropHeight is not also specified.
  • videoFrameCropWidth: Int
  • # The height of the video frame crop rectangle in pixels. Ignored if
  • # videoFrameCropWidth is not also specified.
  • videoFrameCropHeight: Int
  • # The maximum video capture frame rate. If greater, the video frame rate is
  • # halved.
  • videoFrameRateMax: Float
  • # The video capture keyframe interval, in milliseconds.
  • videoKeyFrameIntervalMilliseconds: Int
  • # The video capture aspect ratio mode. If set to 0, the aspect ratio isn't
  • # modified. Set to 1 to match the capture source, 2 to use a square 1x1 aspect
  • # ratio, or 3 to use a custom aspect ratio.
  • videoAspectRatioMode: Int
  • # The video capture aspect ratio method. Set to 0 to crop or 1 to stretch.
  • videoAspectRatioMethod: Int
  • # The custom video capture aspect ratio width.
  • videoAspectRatioWidth: Int
  • # The custom video capture aspect ratio height.
  • videoAspectRatioHeight: Int
  • # The video capture clockwise rotation, in radians. Set to 0.0 for no rotation,
  • # 1.57 to rotate 90 degrees, 3.14 to rotate 180 degrees, or 4.71 to rotate 270
  • # degrees.
  • videoAspectRatioRotation: Float
  • # The audio level adjustment, in decibels multiplied by 100. The default value is
  • # 0. Valid values range from -1200 to 1200.
  • audioLevel: Int
  • # If true, the audio is muted; false otherwise.
  • audioMuted: Boolean
  • # The left audio channel input index.
  • audioChannelLeft: Int
  • # The right audio channel input index.
  • audioChannelRight: Int
  • # The graphic overlay vendor. Set to 'custom' for all sources. We may add specific
  • # overlay vendors in the future.
  • overlayVendor: String
  • # The graphic overlay URL.
  • overlayUrl: String
  • # The MediaCaster type. Valid values: rtp, liverepeater, applehls, mpegtstcp
  • mediaCasterType: String
  • # The MediaCaster stream information. Set this to the source URL or valid
  • # MediaCaster JSON that describes the source stream.
  • mediaCasterStreamInfo: String
  • # The name of the slate to invoke to override the input stream.
  • slateOverrideName: String
  • # The collection of slates to invoke automatically.
  • slates: [BroadcastInputSlateItem]
  • # The broadcast input index value. Broadcast encoders with matching
  • # broadcastInputEncoderIndex values will act upon this broadcast input.
  • broadcastInputEncoderIndex: Int
  • # The user-defined tag that identifies this object.
  • tag: String
  • # If true ad overlays are shown over-top of the broadcast content, if false
  • # broadcast content is shown.
  • showAdOverlay: Boolean
  • }