Stream Raspberry Pi CM4 camera's via GStreamer to a Janus videoroom

Hi there,

Is it possible to stream camera’s from a CM4 module via (for example) GStreamer to a Janus video room? For example, loading the GStreamer stream via NodeJS on the Pi and streaming it to the Janus server with a videoroom room id.

Kind regards,
Jesse

Recent versions of GStreamer have a VideoRoom publisher plugin. As an alternative, you can use my WHIP client (with a WHIP server in front of Janus) to publish to Janus using a GStreamer pipeline:

If you need it to be a custom application, just build it on top of webrtcbin as I did with the WHIP client.

Thanks a lot! We got it working by creating a custom NodeJS server, and running the simple whip client command from the server.

1 Like

I want to use the GStreamer plugin, but that does not work. It cannot find the ‘janusvrwebrtcsink’ pipeline. Do you know anything about this?

I think you need a very recent version of gstreamer, and you need the rust plugins too. Check their recent FOSDEM presentation for more details, since it’s there I found out about the Janus VideoRoom publisher plugin.

yes, it’s possible: GitHub - RSATom/JanusVideoroomStreamer: [POC] Restream from any source supported by GStreamer to Janus Videoroom.