Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.7 KB

playout-options.md

File metadata and controls

59 lines (47 loc) · 1.7 KB

Playout Options

In the Schema, there is an option to add the gddPlayoutOptions object with various properties therein. These properties can be read by a playout client in order to modify how it'll display / use / play the template.

Note: All of the properties inside of gddPlayoutOptions are optional.

{
  "title": "My GFX Template",
  "type": "object",
  "properties": {
    "myProperty": {
      // ...
    }
  },
  "gddPlayoutOptions": {
    /** This object contains specific options for the various playout server types (CasparCG, Viz, vMix etc..) */
    "playout" {
      // The contents of this object are described in the sections below
    }
  }
}

CasparCG

{
  "gddPlayoutOptions": {
    "playout" {
      "casparcg": {
        /** The default server to play on (an IP-address or a hostname). */
        "serverHost"?: string
        /** The default server to play on. */
        "serverPort"?: number

        /** The default / suggested channel to play on */
        "channel"?: number
        /** The default / suggested layer to play on */
        "layer"?: number

        /** A list of the commands supported by the template, can be displayed as buttons */
        "commands": ["play", "next", "stop", "update", "(custom invokes)"]
        /** A template should support "play" and "stop" as a minimum. Some templates are not meant to be updated when already */
        /** played, so they shall not support "update". Some templates support invoke comands like "show", "hide", "showOvertime" */
        /** or anything else. These commands can be used to render (or enable/disable) buttons in the UI. */
      },
    }
  }
}

vMix

This sections is yet to be written