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?
32 Replies
Does anyone know why this might be? Kind of desperate tbh
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.
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.
At least now it says "Webcam stream not found" instead of just spinning forever π
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.
@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.
Have you tried restarting?
Yes sir, multiple times π
Then I donβt know what it could be
It looks to be the same as mine
Which camera are you using?
The one that came with the kit
Nice, the 3D0 one. I'm trying to use an RPI Cam V2 π
Oh maybe thatβs the problem
Does it support the same things?
It should, it's just a webcam, but I'm considering if I should just buy the 3D0 camera π
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
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
Yeah same I donβt really know how it works
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.
The cam section? I fixed it, didn't solve everything though ;/
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.On it!
And then please post a debug zip
my bad
Fixed πͺ
Everything updated π
Any other files that you need? Thanks for helping me out!
https://discord.com/channels/582187371529764864/1298941392935977030/1300105117202120735
From your crowsnest log, the RR camera seems to be running fine.
I agree, looks like it, but nothing pops up on webrtc webcams or the VAOC π¦
what browser are you using?
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)?
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
Oh really? Crap, my bad, I'm so sorry! π¦
That will give you a 4:3 image (higher resolution than the next option). You can do this for a 16:9 cropped image:
I might've missed something, no worries