Hierarchy

Constructors

Properties

prefixed: string | boolean

Accessors

  • get connected(): boolean
  • Returns boolean

  • get host(): string
  • Returns string

  • set host(host: string): void
  • Parameters

    • host: string

    Returns void

  • get port(): number
  • Returns number

  • set port(port: number): void
  • Parameters

    • port: number

    Returns void

Methods

  • Sends a command to CasparCG

    Returns

    if there was an error when sending the command (such as being disconnected)

    Returns

    a Promise that resolves when CasparCG replies after a command has been sent. If this throws, there's something seriously wrong :)

    Type Parameters

    Parameters

    • command: Command

    Returns Promise<SendResult<CReturnType<Command["command"]>>>

Generated using TypeDoc