EncodedStreamInfo Struct Reference

Describes one encoded video source exposed by the camera. More...

Attributes

ENCODED_STREAM_SOURCE source
 Encoded source this entry describes. More...
 
bool active
 True if this source is producing packets right now. More...
 
STREAMING_CODEC codec
 H264 or H265. More...
 
uint bitrateKbps
 Configured bitrate, in kbps. 0 for lossless / unknown. More...
 
bool isLossless
 True for the H264_LOSSLESS / H265_LOSSLESS recording modes. More...
 

Detailed Description

Describes one encoded video source exposed by the camera.

Returned by GetEncodedStreamsInfo(): one entry per source, whether currently active or not. Use this to discover which sources are producing data and at what codec/bitrate before calling RetrieveEncodedStreamPacket().

Variables

◆ source

Encoded source this entry describes.

◆ active

bool active

True if this source is producing packets right now.

◆ codec

H264 or H265.

◆ bitrateKbps

uint bitrateKbps

Configured bitrate, in kbps. 0 for lossless / unknown.

◆ isLossless

bool isLossless

True for the H264_LOSSLESS / H265_LOSSLESS recording modes.