Skip to content

Commit

Permalink
(automatic) update dialects to rev https://github.com/mavlink/mavlink…
Browse files Browse the repository at this point in the history
  • Loading branch information
gomavlib-bot committed Jul 18, 2024
1 parent 2c23f88 commit 294ea7b
Show file tree
Hide file tree
Showing 28 changed files with 324 additions and 34 deletions.
19 changes: 19 additions & 0 deletions pkg/dialects/all/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package all

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/all/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/ardupilotmega/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package ardupilotmega

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/ardupilotmega/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/asluav/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package asluav

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/asluav/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/avssuas/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package avssuas

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/avssuas/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
58 changes: 58 additions & 0 deletions pkg/dialects/common/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package common

import (
"fmt"
"strconv"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING uint64

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = 0
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = 1
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = 2
)

var labels_VIDEO_STREAM_ENCODING = map[VIDEO_STREAM_ENCODING]string{
VIDEO_STREAM_ENCODING_UNKNOWN: "VIDEO_STREAM_ENCODING_UNKNOWN",
VIDEO_STREAM_ENCODING_H264: "VIDEO_STREAM_ENCODING_H264",
VIDEO_STREAM_ENCODING_H265: "VIDEO_STREAM_ENCODING_H265",
}

var values_VIDEO_STREAM_ENCODING = map[string]VIDEO_STREAM_ENCODING{
"VIDEO_STREAM_ENCODING_UNKNOWN": VIDEO_STREAM_ENCODING_UNKNOWN,
"VIDEO_STREAM_ENCODING_H264": VIDEO_STREAM_ENCODING_H264,
"VIDEO_STREAM_ENCODING_H265": VIDEO_STREAM_ENCODING_H265,
}

// MarshalText implements the encoding.TextMarshaler interface.
func (e VIDEO_STREAM_ENCODING) MarshalText() ([]byte, error) {
if name, ok := labels_VIDEO_STREAM_ENCODING[e]; ok {
return []byte(name), nil
}
return []byte(strconv.Itoa(int(e))), nil
}

// UnmarshalText implements the encoding.TextUnmarshaler interface.
func (e *VIDEO_STREAM_ENCODING) UnmarshalText(text []byte) error {
if value, ok := values_VIDEO_STREAM_ENCODING[string(text)]; ok {
*e = value
} else if value, err := strconv.Atoi(string(text)); err == nil {
*e = VIDEO_STREAM_ENCODING(value)
} else {
return fmt.Errorf("invalid label '%s'", text)
}
return nil
}

// String implements the fmt.Stringer interface.
func (e VIDEO_STREAM_ENCODING) String() string {
val, _ := e.MarshalText()
return string(val)
}
20 changes: 10 additions & 10 deletions pkg/dialects/common/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = 1
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = 2
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = 3
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = 3
)

var labels_VIDEO_STREAM_TYPE = map[VIDEO_STREAM_TYPE]string{
VIDEO_STREAM_TYPE_RTSP: "VIDEO_STREAM_TYPE_RTSP",
VIDEO_STREAM_TYPE_RTPUDP: "VIDEO_STREAM_TYPE_RTPUDP",
VIDEO_STREAM_TYPE_TCP_MPEG: "VIDEO_STREAM_TYPE_TCP_MPEG",
VIDEO_STREAM_TYPE_MPEG_TS_H264: "VIDEO_STREAM_TYPE_MPEG_TS_H264",
VIDEO_STREAM_TYPE_RTSP: "VIDEO_STREAM_TYPE_RTSP",
VIDEO_STREAM_TYPE_RTPUDP: "VIDEO_STREAM_TYPE_RTPUDP",
VIDEO_STREAM_TYPE_TCP_MPEG: "VIDEO_STREAM_TYPE_TCP_MPEG",
VIDEO_STREAM_TYPE_MPEG_TS: "VIDEO_STREAM_TYPE_MPEG_TS",
}

var values_VIDEO_STREAM_TYPE = map[string]VIDEO_STREAM_TYPE{
"VIDEO_STREAM_TYPE_RTSP": VIDEO_STREAM_TYPE_RTSP,
"VIDEO_STREAM_TYPE_RTPUDP": VIDEO_STREAM_TYPE_RTPUDP,
"VIDEO_STREAM_TYPE_TCP_MPEG": VIDEO_STREAM_TYPE_TCP_MPEG,
"VIDEO_STREAM_TYPE_MPEG_TS_H264": VIDEO_STREAM_TYPE_MPEG_TS_H264,
"VIDEO_STREAM_TYPE_RTSP": VIDEO_STREAM_TYPE_RTSP,
"VIDEO_STREAM_TYPE_RTPUDP": VIDEO_STREAM_TYPE_RTPUDP,
"VIDEO_STREAM_TYPE_TCP_MPEG": VIDEO_STREAM_TYPE_TCP_MPEG,
"VIDEO_STREAM_TYPE_MPEG_TS": VIDEO_STREAM_TYPE_MPEG_TS,
}

// MarshalText implements the encoding.TextMarshaler interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_camera_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ type MessageCameraInformation struct {
CamDefinitionUri string `mavlen:"140"`
// Gimbal id of a gimbal associated with this camera. This is the component id of the gimbal device, or 1-6 for non mavlink gimbals. Use 0 if no gimbal is associated with the camera.
GimbalDeviceId uint8 `mavext:"true"`
// Camera id of a camera associated with this component. This is the component id of a proxied MAVLink camera, or 1-6 for a non-MAVLink camera attached to the component. Use 0 if the component is a camera (not something else providing access to a camera).
CameraDeviceId uint8 `mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
2 changes: 2 additions & 0 deletions pkg/dialects/common/message_video_stream_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ type MessageVideoStreamInformation struct {
Name string `mavlen:"32"`
// Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to).
Uri string `mavlen:"160"`
// Encoding of stream.
Encoding VIDEO_STREAM_ENCODING `mavenum:"uint8" mavext:"true"`
}

// GetID implements the message.Message interface.
Expand Down
19 changes: 19 additions & 0 deletions pkg/dialects/cubepilot/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package cubepilot

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/cubepilot/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/development/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package development

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/development/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/matrixpilot/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package matrixpilot

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/matrixpilot/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/paparazzi/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package paparazzi

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/paparazzi/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/pythonarraytest/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package pythonarraytest

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/pythonarraytest/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
19 changes: 19 additions & 0 deletions pkg/dialects/storm32/enum_video_stream_encoding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//autogenerated:yes
//nolint:revive,misspell,govet,lll,dupl,gocritic
package storm32

import (
"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
)

// Video stream encodings
type VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING

const (
// Stream encoding is unknown
VIDEO_STREAM_ENCODING_UNKNOWN VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_UNKNOWN
// Stream encoding is H.264
VIDEO_STREAM_ENCODING_H264 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H264
// Stream encoding is H.265
VIDEO_STREAM_ENCODING_H265 VIDEO_STREAM_ENCODING = common.VIDEO_STREAM_ENCODING_H265
)
4 changes: 2 additions & 2 deletions pkg/dialects/storm32/enum_video_stream_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const (
VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
// Stream is MPEG on TCP
VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
// Stream is h.264 on MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
// Stream is MPEG TS (URI gives the port number)
VIDEO_STREAM_TYPE_MPEG_TS VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS
)
Loading

0 comments on commit 294ea7b

Please sign in to comment.