dronecode_sdk::Camera::VideoStreamSettings Struct Reference

#include: camera.h


Type for video stream settings.

Application may call set_video_stream_settings() before starting video streaming to tell Camera server to use these settings during video streaming.

See Also:

Public Member Functions

Type Name Description
void set_highest () Sets to highest possible settings for Resolution, framerate.

Data Fields

float frame_rate_hz = 0.f - Frames per second.

uint16_t horizontal_resolution_pix = 0u - Horizontal resolution in pixels.

uint16_t vertical_resolution_pix = 0u - Vertical resolution in pixels.

uint32_t bit_rate_b_s = 0u - Bit rate in bits per second.

uint16_t rotation_deg = 0u - Video image rotation clockwise (0-359 degrees).

std::string uri {} - Video stream URI.

Static Public Attributes

static constexpr const float FRAME_RATE_HIGHEST = -1.0f - Highest possible framerate.

static constexpr const uint16_t RESOLUTION_H_HIGHEST = UINT16_MAX - Highest possible horizontal resolution.

static constexpr const uint16_t RESOLUTION_V_HIGHEST = UINT16_MAX - Highest possible vertical resolution.

static constexpr const uint32_t BIT_RATE_AUTO = 0 - Auto settings for Bit rate.

Member Function Documentation

set_highest()

void dronecode_sdk::Camera::VideoStreamSettings::set_highest()

Sets to highest possible settings for Resolution, framerate.

Field Documentation

FRAME_RATE_HIGHEST

constexpr const float dronecode_sdk::Camera::VideoStreamSettings::FRAME_RATE_HIGHEST = -1.0f

Highest possible framerate.

RESOLUTION_H_HIGHEST

constexpr const uint16_t dronecode_sdk::Camera::VideoStreamSettings::RESOLUTION_H_HIGHEST = UINT16_MAX

Highest possible horizontal resolution.

RESOLUTION_V_HIGHEST

constexpr const uint16_t dronecode_sdk::Camera::VideoStreamSettings::RESOLUTION_V_HIGHEST = UINT16_MAX

Highest possible vertical resolution.

BIT_RATE_AUTO

constexpr const uint32_t dronecode_sdk::Camera::VideoStreamSettings::BIT_RATE_AUTO = 0

Auto settings for Bit rate.

frame_rate_hz

float dronecode_sdk::Camera::VideoStreamSettings::frame_rate_hz = 0.f

Frames per second.

horizontal_resolution_pix

uint16_t dronecode_sdk::Camera::VideoStreamSettings::horizontal_resolution_pix = 0u

Horizontal resolution in pixels.

vertical_resolution_pix

uint16_t dronecode_sdk::Camera::VideoStreamSettings::vertical_resolution_pix = 0u

Vertical resolution in pixels.

bit_rate_b_s

uint32_t dronecode_sdk::Camera::VideoStreamSettings::bit_rate_b_s = 0u

Bit rate in bits per second.

rotation_deg

uint16_t dronecode_sdk::Camera::VideoStreamSettings::rotation_deg = 0u

Video image rotation clockwise (0-359 degrees).

uri

std::string dronecode_sdk::Camera::VideoStreamSettings::uri {}

Video stream URI.

© Dronecode 2017. License: CC BY 4.0            Updated: 2018-11-07 01:25:57

results matching ""

    No results matching ""