Robotics StackExchange | Archived questions

ROS Image Topic to virtual webcam

Hi everyone!

I'm searching for a ROS package to create a virtual webcam device streaming the content of a topic of type image. The virtual webcam should be accessed by a browser to stream content with WebRTC.

Has anyone a solution for that?

Thanks!

Asked by phil788 on 2021-07-18 04:44:33 UTC

Comments

Please see #q203812.

The jgoppert/ros-virtual-cam mentioned in the second answer is still available.

Asked by gvdhoorn on 2021-07-18 06:32:44 UTC

Thanks for your reply. Do you know any alternatives?

Asked by phil788 on 2021-07-24 12:35:58 UTC

Not without you telling us why you'd need alternatives?

Do the discussed packages not work any more? If not: why not?

Asked by gvdhoorn on 2021-07-25 05:33:25 UTC

Its not working in my scenario (Firefox recognises the virtual camera but fails on displaying video while chrome does not even detect the camera)

Asked by phil788 on 2021-07-25 05:36:39 UTC

That's likely a problem with v4l2loopback, not with those packages. It's not specific to any application, it's a known limitation with known work-arounds.

See v4l2loopback device detected by Chrome, not seen by Zoom or Firefox for instance.

And it seems you already posted lucasw/image_to_v4l2loopback#5, so let's give @lucasw some time to respond.

Asked by gvdhoorn on 2021-07-25 05:41:46 UTC

Answers