pub type VideoStreamInformation = VideoStreamInformation;Expand description
Originally defined in common::messages::video_stream_information.
Aliased Type§
pub struct VideoStreamInformation {Show 14 fields
pub stream_id: u8,
pub count: u8,
pub type_: VideoStreamType,
pub flags: VideoStreamStatusFlags,
pub framerate: f32,
pub resolution_h: u16,
pub resolution_v: u16,
pub bitrate: u32,
pub rotation: u16,
pub hfov: u16,
pub name: [u8; 32],
pub uri: [u8; 160],
pub encoding: VideoStreamEncoding,
pub camera_device_id: u8,
}Fields§
§stream_id: u8MAVLink field stream_id.
Video Stream ID (1 for first, 2 for second, etc.)
count: u8MAVLink field count.
Number of streams available.
type_: VideoStreamTypeMAVLink field type.
Type of stream.
flags: VideoStreamStatusFlagsMAVLink field flags.
Bitmap of stream status flags.
framerate: f32MAVLink field framerate.
Frame rate.
resolution_h: u16MAVLink field resolution_h.
Horizontal resolution.
resolution_v: u16MAVLink field resolution_v.
Vertical resolution.
bitrate: u32MAVLink field bitrate.
Bit rate.
rotation: u16MAVLink field rotation.
Video image rotation clockwise.
hfov: u16MAVLink field hfov.
Horizontal Field of view.
name: [u8; 32]MAVLink field name.
Stream name.
uri: [u8; 160]MAVLink field uri.
Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to).
encoding: VideoStreamEncodingMAVLink field encoding.
Encoding of stream.
camera_device_id: u8MAVLink field camera_device_id.
Camera id of a non-MAVLink camera attached to an autopilot (1-6). 0 if the component is a MAVLink camera (with its own component id).