Class CasparCGState

Hierarchy

Constructors

  • Parameters

    • Optional config: {
          externalStorage?: ((action: string, data?: null | Record<string, any>) => InternalState);
          getMediaDurationCallback?: ((clip: string, callback: ((duration: number) => void)) => void);
      }
      • Optional externalStorage?: ((action: string, data?: null | Record<string, any>) => InternalState)
          • (action: string, data?: null | Record<string, any>): InternalState
          • Parameters

            • action: string
            • Optional data: null | Record<string, any>

            Returns InternalState

      • Optional getMediaDurationCallback?: ((clip: string, callback: ((duration: number) => void)) => void)
          • (clip: string, callback: ((duration: number) => void)): void
          • Parameters

            • clip: string
            • callback: ((duration: number) => void)
                • (duration: number): void
                • Parameters

                  • duration: number

                  Returns void

            Returns void

    Returns CasparCGState

Properties

_currentStateStorage: StateObjectStorage = ...
bufferedCommands: {
    additionalLayerState?: LayerBase;
    cmd: AMCPCommand;
}[] = []
minTimeSincePlay: number = MIN_TIME_SINCE_PLAY

Accessors

Methods

Generated using TypeDoc