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 and USB Camera support through rtsp-simple-server #1

Closed
cedricve opened this issue Nov 25, 2022 · 2 comments
Closed

Raspberry Pi and USB Camera support through rtsp-simple-server #1

cedricve opened this issue Nov 25, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cedricve
Copy link
Member

cedricve commented Nov 25, 2022

We are leveraging rtsp-simple-server to proxy USB and RPi camera streams to a RTSP h264 encoded stream. The latter can than be leveraged as a traditional IP camera stream, and connect with the Kerberos Agent. For more information have a look at the camera-to-rtsp repository.

For the moment, we cannot make this approach working in a balena deployment. We cannot have rtsp-simple-server connecting with both a RPI or USB camera.

We need some help tweaking the docker-compose.yml file, so we can properly setup the rtsp-simple-server and connect the RTSP urls to the Kerberos Agent.

The current situation is that the Kerberos Agent is properly deployed, and can be configured with an available RTSP stream, however we cannot leverage the RTSP stream from the rtsp-simple-server, as the onboard device is not recognised in the current configuration.

Screenshot 2022-11-25 at 14 00 24

@cedricve cedricve added enhancement New feature or request help wanted Extra attention is needed labels Nov 25, 2022
@cedricve cedricve self-assigned this Nov 25, 2022
@cedricve
Copy link
Member Author

@aler9 do you have any thoughts? We also created a thread on the Balena forum. https://forums.balena.io/t/kerberos-agent-rtsp-simple-server-not-able-to-connect-to-device/365667/1

@cedricve cedricve reopened this Nov 25, 2022
@cedricve
Copy link
Member Author

cedricve commented Nov 28, 2022

We managed to get the USB camera working, after installing ffmpeg in a sub image of rtsp-simple-server. We now have a new issue where the stream reading is too slow, compared to the encoding speed (inside the container).
#2

@cedricve cedricve closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant