Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H265 MAVLink advertisement URI is wrong #453

Closed
joaoantoniocardoso opened this issue Nov 12, 2024 · 2 comments
Closed

H265 MAVLink advertisement URI is wrong #453

joaoantoniocardoso opened this issue Nov 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@joaoantoniocardoso
Copy link
Collaborator

joaoantoniocardoso commented Nov 12, 2024

From QGC logs:

VideoReceiverLog: Starting "udp://0.0.0.0:udp265://192.168.2.1:5600"

It should follow this

@joaoantoniocardoso
Copy link
Collaborator Author

It is not a problem on mavlink-camera-manger side:

  • when changing the scheme from "udp265" to "udp", it reads as "udp://192.168.2.1:5600"
  • when changing the scheme from "udp" to "potato" it reads it as "udp://0.0.0.0:potato://192.168.2.1:5600".

better log from QGC:

VideoReceiverLog: Starting "udp://0.0.0.0:udp265://192.168.2.1:5600" , buffer -1
VehicleLog: "_handleCommandAck command(MAV_CMD(2504)) result(MAV_RESULT_ACCEPTED)"
VehicleLog: _handleCommandAck Ack not in list "MAV_CMD(2504)"
CameraControlLog: handleVideoInfo: 1 udp265://192.168.2.1:5600
CameraControlLog: All stream handlers done
VideoManagerLog: Configure primary stream: "udp265://192.168.2.1:5600"
VideoManagerLog: New Video URI  "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoManagerLog: Restart video streaming 0
VideoManagerLog: New Video URI  ""
VideoManagerLog: Restart video streaming 1
CameraControlLog: handleVideoInfo: 1 udp265://192.168.2.1:5600
CameraControlLog: All stream handlers done
VideoManagerLog: Configure primary stream: "udp265://192.168.2.1:5600"
VideoManagerLog: New Video URI  "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoManagerLog: Restart video streaming 0
VideoManagerLog: New Video URI  ""
VideoManagerLog: Restart video streaming 1
VehicleLog: "_handleCommandAck command(MAV_CMD(2504)) result(MAV_RESULT_ACCEPTED)"
VehicleLog: _handleCommandAck Ack not in list "MAV_CMD(2504)"
CameraControlLog: handleVideoInfo: 1 udp265://192.168.2.1:5600
CameraControlLog: All stream handlers done
VideoManagerLog: Configure primary stream: "udp265://192.168.2.1:5600"
VideoManagerLog: New Video URI  "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoManagerLog: Restart video streaming 0
VideoManagerLog: New Video URI  ""
VideoManagerLog: Restart video streaming 1
GStreamerAPILog: (NULL) Invalid URI string udp://:-1
VideoReceiverLog: Started "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoReceiverLog: Already running! "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoReceiverLog: Already running! "udp://0.0.0.0:udp265://192.168.2.1:5600"
VideoReceiverLog: Already running! "udp://0.0.0.0:udp265://192.168.2.1:5600"

Basically, QGC receives the "udp265" and fails to parse it.

@joaoantoniocardoso
Copy link
Collaborator Author

The issue is now on QGC repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant