const classafParrotSdk2::PaveHeader

sys::Obj
  afParrotSdk2::PaveHeader

Parrot Video Encapsulation (PaVE) headers for video frame data. Passed to the drone.onVideoFrame() event hook.

advertisedSize

Source

const Int advertisedSize

Size of frames announced as advertised frames

chunkIndex

Source

const Int chunkIndex

Position of the packet - first chunk is #0 - currenty unused

control

Source

const Int control

Special commands like end-of-stream or advertised frames

displayHeight

Source

const Int displayHeight

Example: 360

displayWidth

Source

const Int displayWidth

Example: 640

encodedStreamHeight

Source

const Int encodedStreamHeight

Example: 368

encodedStreamWidth

Source

const Int encodedStreamWidth

Example: 640

frameNumber

Source

const Int frameNumber

Frame position inside the current stream

frameType

Source

const Int frameType

I-frame, P-frame - parrot_video_encapsulation_frametypes_t

header1Size

Source

const Int header1Size

H.264 only : size of SPS inside payload - no SPS present if value is zero

header2Size

Source

const Int header2Size

H.264 only : size of PPS inside payload - no PPS present if value is zero

headerSize

Source

const Int headerSize

Size of the parrot_video_encapsulation_t

payload

Source

const Buf payload

The raw video frame data

payloadSize

Source

const Int payloadSize

Amount of data following this PaVE

signature

Source

const Str signature

"PaVE" - used to identify the start of frame

sliceIndex

Source

const Int sliceIndex

Position of the current slice in the frame

streamBytePosition

Source

const Int streamBytePosition

Byte position of the current payload in the encoded stream

streamId

Source

const Int streamId

This ID indentifies packets that should be recorded together

timestamp

Source

const Duration timestamp

In milliseconds

totalChunks

Source

const Int totalChunks

Number of UDP packets containing the current decodable payload - currently unused

totalSlices

Source

const Int totalSlices

Number of slices composing the current frame

version

Source

const Int version

Version code

videoCodec

Source

const Int videoCodec

Codec of the following frame