mavsdk::Camera::VideoStreamInfo Struct Reference ​
#include: camera.h
Information about the video stream.
Public Types ​
Type | Description |
---|---|
enum VideoStreamStatus | Video stream status type. |
enum VideoStreamSpectrum | Video stream light spectrum type. |
Data Fields ​
int32_t stream_id {} - Stream ID.
VideoStreamSettings settings {} - Video stream settings.
VideoStreamStatus status {} - Current status of video streaming.
VideoStreamSpectrum spectrum {} - Light-spectrum of the video stream.
Member Enumeration Documentation ​
enum VideoStreamStatus ​
Video stream status type.
Value | Description |
---|---|
NotRunning | Video stream is not running. |
InProgress | Video stream is running. |
enum VideoStreamSpectrum ​
Video stream light spectrum type.
Value | Description |
---|---|
Unknown | Unknown. |
VisibleLight | Visible light. |
Infrared | Infrared. |
Field Documentation ​
stream_id ​
cpp
int32_t mavsdk::Camera::VideoStreamInfo::stream_id {}
Stream ID.
settings ​
cpp
VideoStreamSettings mavsdk::Camera::VideoStreamInfo::settings {}
Video stream settings.
status ​
cpp
VideoStreamStatus mavsdk::Camera::VideoStreamInfo::status {}
Current status of video streaming.
spectrum ​
cpp
VideoStreamSpectrum mavsdk::Camera::VideoStreamInfo::spectrum {}
Light-spectrum of the video stream.