Skip to content

Commit

Permalink
mavlink: mavlink_camera: Change video type from RTSP to RTPUDP
Browse files Browse the repository at this point in the history
We are not streaming RTSP but H264.

Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Nov 10, 2021
1 parent 98e61bf commit a3aedf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavlink/mavlink_camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ fn video_stream_information(video_name: &str, video_uri: &str) -> mavlink::commo
hfov: 0,
stream_id: 1, // Starts at 1, 0 is for broadcast
count: 0,
mavtype: mavlink::common::VideoStreamType::VIDEO_STREAM_TYPE_RTSP,
mavtype: mavlink::common::VideoStreamType::VIDEO_STREAM_TYPE_RTPUDP,
name,
uri,
},
Expand Down

0 comments on commit a3aedf4

Please sign in to comment.