github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_video_stream_status.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Information about the status of a video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE.
     6  type MessageVideoStreamStatus struct {
     7  	// Video Stream ID (1 for first, 2 for second, etc.)
     8  	StreamId uint8
     9  	// Bitmap of stream status flags
    10  	Flags VIDEO_STREAM_STATUS_FLAGS `mavenum:"uint16"`
    11  	// Frame rate
    12  	Framerate float32
    13  	// Horizontal resolution
    14  	ResolutionH uint16
    15  	// Vertical resolution
    16  	ResolutionV uint16
    17  	// Bit rate
    18  	Bitrate uint32
    19  	// Video image rotation clockwise
    20  	Rotation uint16
    21  	// Horizontal Field of view
    22  	Hfov uint16
    23  }
    24  
    25  // GetID implements the message.Message interface.
    26  func (*MessageVideoStreamStatus) GetID() uint32 {
    27  	return 270
    28  }