VAOC Stuck on loading

Hi! I'm trying to get my RPI cam to work with VAOC, but always get stuck loading. The webcam itself works fine with the shown settings and "Adaptive MJPEG-Streamer", but not with WebRTC. Any ideas?
No description
No description
No description
32 Replies
FredrikL
FredrikLOPβ€’3mo ago
Does anyone know why this might be? Kind of desperate tbh
miklschmidt
miklschmidtβ€’3mo ago
wrong crowsnest configuration
The webcam itself works fine with the shown settings and "Adaptive MJPEG-Streamer", but not with WebRTC. Any ideas?
That doesn't work You need webrtc (camera-streamer) which makes the URL /webcam/webrtc Just follow the commisioning guide and configure crowsnest properly.
FredrikL
FredrikLOPβ€’3mo ago
I have pasted this, which is what it says in the commissioning guide; it's exactly the same [crowsnest] log_path: /home/pi/printer_data/logs/crowsnest.log log_level: verbose # Valid Options are quiet/verbose/debug delete_log: false # Deletes log on every restart, if set to true no_proxy: false[cam 1] mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices) # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only) enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server rtsp_port: 8554 # Set different ports for each device! port: 8080 # HTTP/MJPG Stream/Snapshot Port device: /dev/video0 # See Log for available ... resolution: 1920x1080 # widthxheight format max_fps: 20 # If Hardware Supports this it will be forced, otherwise ignored/coerced. #custom_flags: # You can run the Stream Services with custom flags.
No description
FredrikL
FredrikLOPβ€’3mo ago
FredrikL
FredrikLOPβ€’3mo ago
At least now it says "Webcam stream not found" instead of just spinning forever πŸ˜„
MurmelMannen
MurmelMannenβ€’3mo ago
I had the same problem, it's when you copy it doesnt copy correctly and where it says no_proxy: false you have to make a new row after it so cam 1 is on its own row and then it should work.
FredrikL
FredrikLOPβ€’3mo ago
@MurmelMannen Great call, I hadn't noticed. With the following crowsnest, it's currently just blank. I know the webcam works, as it was showing up before I changed it to /webcam/webrtc.
No description
No description
MurmelMannen
MurmelMannenβ€’3mo ago
Have you tried restarting?
FredrikL
FredrikLOPβ€’3mo ago
Yes sir, multiple times πŸ™‚
MurmelMannen
MurmelMannenβ€’3mo ago
Then I don’t know what it could be It looks to be the same as mine
FredrikL
FredrikLOPβ€’3mo ago
Which camera are you using?
MurmelMannen
MurmelMannenβ€’3mo ago
The one that came with the kit
FredrikL
FredrikLOPβ€’3mo ago
Nice, the 3D0 one. I'm trying to use an RPI Cam V2 πŸ™‚
MurmelMannen
MurmelMannenβ€’3mo ago
Oh maybe that’s the problem Does it support the same things?
FredrikL
FredrikLOPβ€’3mo ago
It should, it's just a webcam, but I'm considering if I should just buy the 3D0 camera πŸ˜„
MurmelMannen
MurmelMannenβ€’3mo ago
Maybe, but could it be like a different device as it’s not the same camera maybe video1 Or it needs a different port perhaps
FredrikL
FredrikLOPβ€’3mo ago
The camera will show up using the mjpeg format, just not the WebRtc, I'm realtively confident it's mostly a webrtc issue πŸ˜„ But I'm far from an expert
MurmelMannen
MurmelMannenβ€’3mo ago
Yeah same I don’t really know how it works
miklschmidt
miklschmidtβ€’3mo ago
You're missing linebreaks @Cruz can you fix this? the formatting in the docs is borked, don't make it 2 sections. Use a single blockquote, not two.
FredrikL
FredrikLOPβ€’3mo ago
The cam section? I fixed it, didn't solve everything though ;/
miklschmidt
miklschmidtβ€’3mo ago
You probably have more issues Please refresh the update manager in the mainsail machine tab and update everything. Then use /dev/RatOS/rr-vaoc-cam instead of /dev/video0 and reboot the pi.
FredrikL
FredrikLOPβ€’3mo ago
On it!
miklschmidt
miklschmidtβ€’3mo ago
And then please post a debug zip
Cruz
Cruzβ€’3mo ago
my bad Fixed πŸ’ͺ
FredrikL
FredrikLOPβ€’3mo ago
Everything updated πŸ™‚ Any other files that you need? Thanks for helping me out!
miklschmidt
miklschmidtβ€’2mo ago
https://discord.com/channels/582187371529764864/1298941392935977030/1300105117202120735 From your crowsnest log, the RR camera seems to be running fine.
FredrikL
FredrikLOPβ€’2mo ago
I agree, looks like it, but nothing pops up on webrtc webcams or the VAOC 😦
miklschmidt
miklschmidtβ€’2mo ago
what browser are you using?
FredrikL
FredrikLOPβ€’2mo ago
Orca/Chrome, it's the same on both 😦 Thank you for all the help @miklschmidt Could it be that the VAOC /WebRTC is incompatible with the RPI Camera module (V2.1)?
miklschmidt
miklschmidtβ€’2mo ago
Could it be that the VAOC /WebRTC is incompatible with the RPI Camera module (V2.1)?
Oh... i thought we were talking about the official RR VAOC. The setup for the picamv2 is completely different. No wonder it doesn't work. gimme a sec
FredrikL
FredrikLOPβ€’2mo ago
Oh really? Crap, my bad, I'm so sorry! 😦
miklschmidt
miklschmidtβ€’2mo ago
# VAOC Raspicam V2 libcamera config
[cam 1]
mode: camera-streamer
enable_rtsp: false
rtsp_port: 8554
port: 8080
device: /base/soc/i2c0mux/i2c@1/imx219@10
resolution: 1472x1088
max_fps: 30
custom_flags: --camera-height=2464 --camera-width=3280 --camera-video.height=1232 --camera-snapshot.height=1232 --camera-format=YUYV
# VAOC Raspicam V2 libcamera config
[cam 1]
mode: camera-streamer
enable_rtsp: false
rtsp_port: 8554
port: 8080
device: /base/soc/i2c0mux/i2c@1/imx219@10
resolution: 1472x1088
max_fps: 30
custom_flags: --camera-height=2464 --camera-width=3280 --camera-video.height=1232 --camera-snapshot.height=1232 --camera-format=YUYV
That will give you a 4:3 image (higher resolution than the next option). You can do this for a 16:9 cropped image:
[cam 1]
mode: camera-streamer
enable_rtsp: false
rtsp_port: 8554
port: 8080
device: /base/soc/i2c0mux/i2c@1/imx219@10
resolution: 1920x1080
max_fps: 40
custom_flags: --camera-height=1080 --camera-width=1920 --camera-video.height=1080 --camera-snapshot.height=1080 --camera-format=YUYV
[cam 1]
mode: camera-streamer
enable_rtsp: false
rtsp_port: 8554
port: 8080
device: /base/soc/i2c0mux/i2c@1/imx219@10
resolution: 1920x1080
max_fps: 40
custom_flags: --camera-height=1080 --camera-width=1920 --camera-video.height=1080 --camera-snapshot.height=1080 --camera-format=YUYV
I might've missed something, no worries

Did you find this page helpful?