mavlink-camera-manager: Resource temporarily unavailable when configure stream
Hello there, After installing and building I tried to create a stream from my USB camera connected to the Jetson Orin, but nothing happens in the UI and I’m getting the error below in the console:
camera.rs:816: Error receiving a message as 1:100. Reason: Io(
Os {
code: 11,
kind: WouldBlock,
message: "Resource temporarily unavailable",
},
). Camera: MavlinkCameraInformation {
component: MavlinkCameraComponent {
system_id: 1,
component_id: 100,
stream_id: 1,
vendor_name: "Logitech BRIO",
model_name: "/dev/video0 - Logitech BRIO",
firmware_version: 0,
resolution_h: 1080,
resolution_v: 1920,
framerate: 30.0,
bitrate: 5000,
rotation: 0,
hfov: 90,
thermal: false,
},
mavlink_connection_string: "tcpout:127.0.0.1:5760",
mavlink_stream_type: VIDEO_STREAM_TYPE_RTPUDP,
video_stream_uri: Url {
scheme: "udp",
cannot_be_a_base: false,
username: "",
password: None,
host: Some(
Domain(
"0.0.0.0",
),
),
port: Some(
5600,
),
path: "/logi",
query: None,
fragment: None,
},
video_source_type: Local(
VideoSourceLocal {
name: "Logitech BRIO",
device_path: "/dev/video0",
typ: Unknown(
"usb-3610000.xhci-3.4",
),
},
),
}
NOTE : there’s no other apps or processes using the camera, and I’m using mavlink-router to provide a server for the mavlink communication.
Any idea how to solve that?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (4 by maintainers)
You can also use C++ to receive the stream, you can check this minimal example.
It’s also possible to write a C++/Qt application that uses this QML code, or just the QML with QHot.
Or Python.
Closing this for now since the underlying problem was detected.
Nice! Well, to receive you can start testing with the following pipeline right from your console:
If that works, you can start by hacking this example.
Awesome, I’ll prepare a guide and link it here later.
Sorry for my late reply, here are the information:
Linux microorin1-desktop 5.10.104-tegra #1 SMP PREEMPT Sun Mar 19 07:55:28 PDT 2023 aarch64 aarch64 aarch64 GNU/LinuxI’ll try to pull the master with the new merge and rebuild and try and let you know.