const classafParrotSdk2::PaveHeader
sys::Obj afParrotSdk2::PaveHeader
Parrot Video Encapsulation (PaVE) headers for video frame data. Passed to the drone.onVideoFrame() event hook.
- advertisedSize
const Int advertisedSizeSize of frames announced as advertised frames
- chunkIndex
const Int chunkIndexPosition of the packet - first chunk is #0 - currenty unused
- control
const Int controlSpecial commands like end-of-stream or advertised frames
- displayHeight
const Int displayHeightExample: 360
- displayWidth
const Int displayWidthExample: 640
- encodedStreamHeight
const Int encodedStreamHeightExample: 368
- encodedStreamWidth
const Int encodedStreamWidthExample: 640
- frameNumber
const Int frameNumberFrame position inside the current stream
- frameType
const Int frameTypeI-frame, P-frame - parrot_video_encapsulation_frametypes_t
- header1Size
const Int header1SizeH.264 only : size of SPS inside payload - no SPS present if value is zero
- header2Size
const Int header2SizeH.264 only : size of PPS inside payload - no PPS present if value is zero
- headerSize
const Int headerSizeSize of the parrot_video_encapsulation_t
- payload
const Buf payloadThe raw video frame data
- payloadSize
const Int payloadSizeAmount of data following this PaVE
- signature
const Str signature"PaVE" - used to identify the start of frame
- sliceIndex
const Int sliceIndexPosition of the current slice in the frame
- streamBytePosition
const Int streamBytePositionByte position of the current payload in the encoded stream
- streamId
const Int streamIdThis ID indentifies packets that should be recorded together
- timestamp
const Duration timestampIn milliseconds
- totalChunks
const Int totalChunksNumber of UDP packets containing the current decodable payload - currently unused
- totalSlices
const Int totalSlicesNumber of slices composing the current frame
- version
const Int versionVersion code
- videoCodec
const Int videoCodecCodec of the following frame