Single encoded video packet retrieved from a Camera source. More...
Attributes | |
| const unsigned char * | data = nullptr |
| Annex-B NAL units. SDK-owned. More... | |
| size_t | size = 0 |
| Length of data in bytes. More... | |
| Timestamp | timestamp |
| Capture timestamp (ns). More... | |
| STREAMING_CODEC | codec = STREAMING_CODEC::H265 |
| H264 or H265. More... | |
| bool | is_keyframe = false |
| True if this packet is an IDR. More... | |
| ENCODED_STREAM_SOURCE | source = ENCODED_STREAM_SOURCE::RECEIVING |
| Which path produced it. More... | |
Single encoded video packet retrieved from a Camera source.
The payload is laid out as Annex-B NAL units. Every packet returned to user code is preceded (within the same byte stream history) by SPS/PPS (and VPS for HEVC), so writing successive packets to a .h264 or .hevc file produces a stream playable by any standard player.
| const unsigned char* data = nullptr |
Annex-B NAL units. SDK-owned.
| size_t size = 0 |
Length of data in bytes.
| Timestamp timestamp |
Capture timestamp (ns).
| STREAMING_CODEC codec = STREAMING_CODEC::H265 |
H264 or H265.
| bool is_keyframe = false |
True if this packet is an IDR.
Which path produced it.