Skip to content

Commit

Permalink
chore: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 29, 2024
1 parent b6d21e3 commit b44aac3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/dataTransfer/dataTransferUploadBuffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,23 @@ import * as Util from '../lib/atemUtil'
const debug = debug0('atem-connection:data-transfer:upload-buffer')

export interface UploadBufferInfo {
/**
* Encoded data in ATEM native format (eg YUVA for pixels, 24bit audio)
*/
encodedData: Buffer
/**
* Length of the encoded data, before any RLE encoding
*/
rawDataLength: number
/**
* Whether RLE encoding has been performed on this buffer (when supported)
*/
isRleEncoded: boolean
/**
* Hash for the encoded data, intended as a unique identifier/checksum
* When `null`, one will be generated from the `encodedData`
* This is returned by the ATEM when describing what is in each slot
*/
hash: string | null
}

Expand Down

0 comments on commit b44aac3

Please sign in to comment.