VideoStreamInformation class

Information about video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE, where param2 indicates the video stream id: 0 for all streams, 1 for first, 2 for second, etc.

VIDEO_STREAM_INFORMATION

Implemented types

Constructors

VideoStreamInformation({required float framerate, required uint32_t bitrate, required VideoStreamStatusFlags flags, required uint16_t resolutionH, required uint16_t resolutionV, required uint16_t rotation, required uint16_t hfov, required uint8_t streamId, required uint8_t count, required VideoStreamType type, required List<char> name, required List<char> uri})
VideoStreamInformation.parse(ByteData data_)
factory

Properties

bitrate uint32_t
Bit rate.
final
count uint8_t
Number of streams available.
final
flags VideoStreamStatusFlags
Bitmap of stream status flags.
final
framerate float
Frame rate.
final
hashCode int
The hash code for this object.
no setterinherited
hfov uint16_t
Horizontal Field of view.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
name List<char>
Stream name.
final
resolutionH uint16_t
Horizontal resolution.
final
resolutionV uint16_t
Vertical resolution.
final
rotation uint16_t
Video image rotation clockwise.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamId uint8_t
Video Stream ID (1 for first, 2 for second, etc.)
final
type VideoStreamType
Type of stream.
final
uri List<char>
Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int