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

Raspberry Pi - WebRTC Stream Not Available #158

Open
SCH00N3R opened this issue Oct 28, 2024 · 2 comments
Open

Raspberry Pi - WebRTC Stream Not Available #158

SCH00N3R opened this issue Oct 28, 2024 · 2 comments

Comments

@SCH00N3R
Copy link

Hello,

I followed your instructions on installing camera-streamer to my Raspberry Pi. I can connect to the web interface and can see the /stream working. However, when I click on /webrtc I get a blank playback screen with an infinitely spinning wheel. Also, if I go to the control section, The Start WebRTC button is greyed out. What did I miss?

Thank you!

SCH00N3R

@stablestud
Copy link

Same for me. On what RasbianOS version are you?
cat /etc/os-release

@macavelly
Copy link

Did you ever figure this out? Maybe its just me but the instructions wasn't very clear how to enable webrtc.

"The WebRTC is accessible via http://:8080/webrtc by default and is available when there's H264 output generated."

I'm using the precompiled binary and my service file looks like this:

`[Unit]
Description=camera-streamer web camera for USB camera on Generic platform
After=network.target

[Service]
ExecStart=/usr/bin/camera-streamer
-camera-path=/dev/video0
-camera-format=JPEG
-camera-width=1280 -camera-height=720
-camera-fps=15
; use two memory buffers to optimise usage
-camera-nbufs=3
-camera-video.height=720
-camera-snapshot.height=720
-camera-stream.height=720
--http-listen=0.0.0.0
--http-port=8080

DynamicUser=yes
SupplementaryGroups=video i2c
Restart=always
RestartSec=10
Nice=10
IOSchedulingClass=idle
IOSchedulingPriority=7
CPUWeight=20
AllowedCPUs=1-2
MemoryMax=250M

[Install]
WantedBy=multi-user.target`

But when I click on the webrtc link, just the spinning loading bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants