Class Atem

Hierarchy

Constructors

Properties

Accessors

Methods

addListener autoDownstreamKey autoTransition captureMediaPoolStill changePreviewInput changeProgramInput clearMediaPoolClip clearMediaPoolStill clearStartupState connect cut destroy disconnect downloadMacro drawMultiviewerLabel emit eventNames fadeToBlack hasInternalMultiviewerLabelGeneration listVisibleInputs listenerCount listeners macroContinue macroDelete macroInsertTimedWait macroInsertUserWait macroRun macroSetLoop macroStartRecord macroStop macroStopRecord macroUpdateProperties off on once previewTransition removeAllListeners removeListener requestDisplayClockTime requestRecordingDuration requestStreamingDuration requestTime runUpstreamKeyerFlyKeyTo runUpstreamKeyerFlyKeyToInfinite saveStartupState sendCommand sendCommands setAuxSource setClassicAudioMixerHeadphonesProps setClassicAudioMixerInputProps setClassicAudioMixerMasterProps setClassicAudioMixerMonitorProps setClassicAudioMixerProps setClassicAudioResetPeaks setColorGeneratorColour setDVETransitionSettings setDipTransitionSettings setDisplayClockProperties setDisplayClockState setDownstreamKeyCutSource setDownstreamKeyFillSource setDownstreamKeyGeneralProperties setDownstreamKeyMaskSettings setDownstreamKeyOnAir setDownstreamKeyRate setDownstreamKeyTie setEnableISORecording setFadeToBlackRate setFairlightAudioMixerInputProps setFairlightAudioMixerMasterCompressorProps setFairlightAudioMixerMasterDynamicsReset setFairlightAudioMixerMasterEqualizerBandProps setFairlightAudioMixerMasterEqualizerReset setFairlightAudioMixerMasterLimiterProps setFairlightAudioMixerMasterProps setFairlightAudioMixerMonitorProps setFairlightAudioMixerResetPeaks setFairlightAudioMixerSourceCompressorProps setFairlightAudioMixerSourceDynamicsReset setFairlightAudioMixerSourceEqualizerBandProps setFairlightAudioMixerSourceEqualizerReset setFairlightAudioMixerSourceExpanderProps setFairlightAudioMixerSourceLimiterProps setFairlightAudioMixerSourceProps setFairlightAudioMixerSourceResetPeaks setFairlightAudioRoutingOutputProperties setFairlightAudioRoutingSourceProperties setInputSettings setMediaClip setMediaPlayerSettings setMediaPlayerSource setMediaPoolSettings setMixTransitionSettings setMultiViewerProperties setMultiViewerVuOpacity setMultiViewerWindowSafeAreaEnabled setMultiViewerWindowSource setMultiViewerWindowVuEnabled setMultiviewerFontFace setMultiviewerFontScale setRecordingSettings setStingerTransitionSettings setStreamingAudioBitrates setStreamingService setSuperSourceBorder setSuperSourceBoxSettings setSuperSourceProperties setTime setTransitionPosition setTransitionStyle setUpstreamKeyerAdvancedChromaProperties setUpstreamKeyerAdvancedChromaSample setUpstreamKeyerAdvancedChromaSampleReset setUpstreamKeyerChromaSettings setUpstreamKeyerCutSource setUpstreamKeyerDVESettings setUpstreamKeyerFillSource setUpstreamKeyerFlyKeyKeyframe setUpstreamKeyerLumaSettings setUpstreamKeyerMaskSettings setUpstreamKeyerOnAir setUpstreamKeyerPatternSettings setUpstreamKeyerType setWipeTransitionSettings startFairlightMixerSendLevels startRecording startStreaming stopFairlightMixerSendLevels stopRecording stopStreaming storeUpstreamKeyerFlyKeyKeyframe switchRecordingDisk uploadAudio uploadClip uploadMacro uploadStill writeMultiviewerLabel

Constructors

Properties

dataTransferManager: DataTransferManager

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns Atem

  • Parameters

    • key: number = 0
    • Optional isTowardsOnAir: boolean

    Returns Promise<void>

  • Parameters

    • me: number = 0

    Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • input: number
    • me: number = 0

    Returns Promise<void>

  • Parameters

    • input: number
    • me: number = 0

    Returns Promise<void>

  • Parameters

    • clipId: number

    Returns Promise<void>

  • Parameters

    • stillId: number

    Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • address: string
    • Optional port: number

    Returns Promise<void>

  • Parameters

    • me: number = 0

    Returns Promise<void>

  • Parameters

    • index: number

    Returns Promise<Buffer>

  • Generate and upload a multiviewer label

    Parameters

    • inputId: number

      The input id

    • text: string

      Label text

    Returns Promise<void>

    Promise that resolves once upload is complete

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof AtemEvents)[]

  • Parameters

    • me: number = 0

    Returns Promise<void>

  • Returns boolean

  • Parameters

    • mode: "program" | "preview"
    • me: number = 0

    Returns number[]

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args) => void)[]

  • Returns Promise<void>

  • Parameters

    • index: number = 0

    Returns Promise<void>

  • Parameters

    • frames: number

    Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • index: number = 0

    Returns Promise<void>

  • Parameters

    • loop: boolean

    Returns Promise<void>

  • Parameters

    • index: number
    • name: string
    • description: string

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any
    • Optional once: boolean

    Returns Atem

  • Add a listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns Atem

  • Add a one-time listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns Atem

  • Parameters

    • on: boolean
    • me: number = 0

    Returns Promise<void>

  • Remove all listeners, or those of the specified event.

    Parameters

    Returns Atem

  • Remove the listeners of a given event.

    Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any
    • Optional once: boolean

    Returns Atem

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • mixEffect: number
    • upstreamKeyerId: number
    • keyFrameId: A | B | Full

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • source: number
    • bus: number = 0

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • props: Readonly<{
          audioFollowVideo: boolean;
      }>

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • input: number
    • key: number = 0

    Returns Promise<void>

  • Parameters

    • input: number
    • key: number = 0

    Returns Promise<void>

  • Parameters

    • onAir: boolean
    • key: number = 0

    Returns Promise<void>

  • Parameters

    • rate: number
    • key: number = 0

    Returns Promise<void>

  • Parameters

    • tie: boolean
    • key: number = 0

    Returns Promise<void>

  • Parameters

    • enabled: boolean

    Returns Promise<void>

  • Parameters

    • rate: number
    • me: number = 0

    Returns Promise<void>

  • Parameters

    • index: number
    • props: Readonly<Partial<Omit<OmitReadonly<FairlightAudioInputProperties>, "activeInputLevel"> & {
          rcaToXlrEnabled: boolean;
      }>>

    Returns Promise<void>

  • Parameters

    • props: Partial<FairlightDynamicsResetProps>

    Returns Promise<void>

  • Parameters

    • props: Partial<Readonly<Partial<{
          band: number;
          equalizer: boolean;
      }>>>

    Returns Promise<void>

  • Parameters

    • props: Readonly<{
          all: boolean;
          master: boolean;
      }>

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • index: number
    • source: string
    • props: Partial<FairlightDynamicsResetProps>

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • index: number
    • source: string
    • props: Partial<Readonly<Partial<{
          band: number;
          equalizer: boolean;
      }>>>

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • index: number
    • source: string
    • props: Readonly<{
          dynamicsInput: boolean;
          dynamicsOutput: boolean;
          output: boolean;
      }>

    Returns Promise<void>

  • Parameters

    • newProps: Partial<OmitReadonly<InputChannel>>
    • input: number = 0

    Returns Promise<void>

  • Parameters

    • index: number
    • name: string
    • frames: number = 1

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • opacity: number
    • mv: number = 0

    Returns Promise<void>

  • Parameters

    • safeAreaEnabled: boolean
    • mv: number = 0
    • window: number = 0

    Returns Promise<void>

  • Parameters

    • source: number
    • mv: number = 0
    • window: number = 0

    Returns Promise<void>

  • Parameters

    • vuEnabled: boolean
    • mv: number = 0
    • window: number = 0

    Returns Promise<void>

  • Set the font to use for the multiviewer, or reset to default

    Parameters

    • font: null | string | FontFace

    Returns Promise<void>

  • Set the scale factor for the multiviewer text. Default is 1

    Parameters

    • scale: null | number

    Returns void

  • Parameters

    • lowBitrate: number
    • highBitrate: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • hour: number
    • minute: number
    • second: number
    • frame: number

    Returns Promise<void>

  • Parameters

    • position: number
    • me: number = 0

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • cutSource: number
    • me: number = 0
    • keyer: number = 0

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • fillSource: number
    • me: number = 0
    • keyer: number = 0

    Returns Promise<void>

  • Parameters

    • mixEffect: number
    • upstreamKeyerId: number
    • keyframe: number
    • properties: Partial<Omit<UpstreamKeyerFlyKeyframe, "keyFrameId">>

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • onAir: boolean
    • me: number = 0
    • keyer: number = 0

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • mixEffect: number
    • upstreamKeyerId: number
    • keyframe: number

    Returns Promise<void>

  • Returns Promise<void>

  • Upload clip audio to the ATEM media pool

    Parameters

    • index: number

      Clip index to upload to

    • data: Buffer

      stereo 48khz 24bit WAV audio data

    • name: string

      Name to give the uploaded audio

    Returns Promise<void>

    Promise which resolves once the clip audio is uploaded

  • Upload a clip to the ATEM media pool

    Note: This performs colour conversions in JS, which is not very CPU efficient. If performance is important, consider using @atem-connection/image-tools to pre-convert the images with more optimal algorithms

    Parameters

    • index: number

      Clip index to upload to

    • frames: Iterable<UploadBufferInfo> | AsyncIterable<UploadBufferInfo> | Iterable<Buffer> | AsyncIterable<Buffer>

      Array or generator of frames. Each frame can be a RGBA pixel buffer, or an already YUVA encoded image

    • name: string

      Name to give the uploaded clip

    • Optional options: UploadStillEncodingOptions

      Upload options

    Returns Promise<void>

    Promise which resolves once the clip is uploaded

  • Parameters

    • index: number
    • name: string
    • data: Buffer

    Returns Promise<void>

  • Upload a still image to the ATEM media pool

    Note: This performs colour conversions in JS, which is not very CPU efficient. If performance is important, consider using @atem-connection/image-tools to pre-convert the images with more optimal algorithms

    Parameters

    • index: number

      Still index to upload to

    • data: Buffer | UploadBufferInfo

      a RGBA pixel buffer, or an already YUVA encoded image

    • name: string

      Name to give the uploaded image

    • description: string

      Description for the uploaded image

    • Optional options: UploadStillEncodingOptions

      Upload options

    Returns Promise<void>

    Promise which resolves once the image is uploaded

  • Write a custom multiviewer label buffer

    Parameters

    • inputId: number

      The input id

    • buffer: Buffer

      Label buffer

    Returns Promise<void>

    Promise that resolves once upload is complete

Generated using TypeDoc