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

response for video hotplug event #287

Open
peteeU opened this issue Aug 29, 2022 · 1 comment
Open

response for video hotplug event #287

peteeU opened this issue Aug 29, 2022 · 1 comment

Comments

@peteeU
Copy link

peteeU commented Aug 29, 2022

Hi , @mpromonet. Thanks for your great project.
I have a question, can you make your project v4l2rtspserver be response for device hotplug event, like as /dev/video8.
when I tested your project APP, everything is OK, but when I plug out and plug in /dev/video8, the rtsp-stream stopped, and
nothing can proceed. I don't want to restart this process and re-play rtsp-client app . can you do or can you tell us how to deal with this situation.

Thanks very much.

@mpromonet
Copy link
Owner

Hi,

There is probably some works to support removal and recreation of capture device. Maybe a workaround could be to use a v4l2loopback virtual device (that will always exists and feed v4l2rtspserver) and the hotplug event start a script that copy frames for the hotplug device to the loopback device.

Best Regards,
Michel.

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