Describes one encoded video source exposed by the Camera. More...
Data Fields | |
| enum SL_ENCODED_STREAM_SOURCE | source |
| int | active |
| enum SL_STREAMING_CODEC | codec |
| unsigned int | bitrate_kbps |
| int | is_lossless |
Describes one encoded video source exposed by the Camera.
Returned by sl_get_encoded_streams_info() — 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 sl_retrieve_encoded_stream_packet().
| int SL_EncodedStreamInfo::active |
Non-zero if this source is producing packets right now.
| unsigned int SL_EncodedStreamInfo::bitrate_kbps |
Configured bitrate, kbps. 0 for lossless / unknown.
| int SL_EncodedStreamInfo::is_lossless |
Non-zero for H264_LOSSLESS / H265_LOSSLESS recording.