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

Support: Multiple Cameras #204

Open
boredom1234 opened this issue Nov 3, 2024 · 1 comment
Open

Support: Multiple Cameras #204

boredom1234 opened this issue Nov 3, 2024 · 1 comment

Comments

@boredom1234
Copy link

Is it possible to connect more than one camera to a single Raspberry Pi 4 that has been piped for multiple streaming instances?

@TzuHuanTai
Copy link
Owner

TzuHuanTai commented Nov 7, 2024

Connecting multiple cameras to the Raspberry Pi definitely works. For example, two cameras will be detected and listed as /dev/video0 and /dev/video1. However, I was only able to get this working using the legacy v4l2 driver. I haven't researched how to do this in libcamera mode yet. I think you could try running two separate pi_webrtc processes in v4l2 mode.

./pi_webrtc --device=/dev/video0 ...
./pi_webrtc --device=/dev/video1 ...

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

2 participants