Optional options: AtemOptionsReadonly apiStatic prefixedProtected dataGet the current videomode of the ATEM, if known
Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Optional context: anyCreate a new command batch, to queue up multiple commands and send them together in a single batch.
Download a frame of a clip from 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
Clip index to download
Frame index to download from the clip
The pixel format to return for the downloaded image. 'raw' passes through unchanged, and will be RLE encoded.
Promise which returns the image once downloaded. If the still slot is not in use, this will throw
Download a still image from 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
Still index to download
The pixel format to return for the downloaded image. 'raw' passes through unchanged, and will be RLE encoded.
Promise which returns the image once downloaded. If the still slot is not in use, this will throw
Calls each of the listeners registered for a given event.
Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optional fn: ((...args) => void)Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Optional context: anyOptional once: booleanAdd a listener for a given event.
Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Optional context: anyAdd a one-time listener for a given event.
Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Optional context: anyRemove all listeners, or those of the specified event.
Optional event: keyof AtemEventsRemove the listeners of a given event.
Optional fn: ((...args) => void)Rest ...args: ArgumentMap<AtemEvents>[Extract<T, keyof AtemEvents>]Optional context: anyOptional once: booleanSet the per-box SuperSource border (Constellation HD range and newer,
firmware 9.6.0+). When box is omitted the same values are applied to all
four boxes.
Optional box: null | numberUpload clip audio to the ATEM media pool
Clip index to upload to
stereo 48khz 24bit WAV audio data
Name to give the uploaded audio
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
Clip index to upload to
Array or generator of frames. Each frame can be a RGBA pixel buffer, or an already YUVA encoded image
Name to give the uploaded clip
Optional options: UploadStillEncodingOptionsUpload options
Promise which resolves once the clip is uploaded
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
Still index to upload to
a RGBA pixel buffer, or an already YUVA encoded image
Name to give the uploaded image
Description for the uploaded image
Optional options: UploadStillEncodingOptionsUpload options
Promise which resolves once the image is uploaded
Generated using TypeDoc
The data transfer manager, for uploading/downloading media. Exposed to subclasses (eg Atem) which build higher level helpers on top of it.