VideoStreamInformation

Type Alias VideoStreamInformation 

Source
pub type VideoStreamInformation = VideoStreamInformation;
Expand description

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: u8

MAVLink field stream_id.

Video Stream ID (1 for first, 2 for second, etc.)

§count: u8

MAVLink field count.

Number of streams available.

§type_: VideoStreamType

MAVLink field type.

Type of stream.

§flags: VideoStreamStatusFlags

MAVLink field flags.

Bitmap of stream status flags.

§framerate: f32

MAVLink field framerate.

Frame rate.

§resolution_h: u16

MAVLink field resolution_h.

Horizontal resolution.

§resolution_v: u16

MAVLink field resolution_v.

Vertical resolution.

§bitrate: u32

MAVLink field bitrate.

Bit rate.

§rotation: u16

MAVLink field rotation.

Video image rotation clockwise.

§hfov: u16

MAVLink 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: VideoStreamEncoding

MAVLink field encoding.

Encoding of stream.

§camera_device_id: u8

MAVLink 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).