Building a gstreamer pipeline to cast directly in web browser

Hello Hailo Community,

I’m working on a project that requires streaming video output from a GStreamer pipeline to a web browser. I am looking into WebRTC as this seems to be the simplest solution to implement.

I want to build a GStreamer pipeline based on the hailo_apps implementation that passes the video output to the browser with WebRTC.

I’ve reviewed several GStreamer and WebRTC examples but I’m still struggling with creating a working end-to-end example or complete working chain.

If you have an example that works, configuration hints, or any other tips on how to connect GStreamer WebRTC elements to a browser client, I would appreciate the help.

Best regards

Joshua.

For this kind of topic, the easiest starting point is to first get a completely generic GStreamer + WebRTC pipeline working, and then add the Hailo components afterward. For the Hailo part you can use our example pipelines.

Since we’re not a general GStreamer forum, it’s best to explore the standard GStreamer documentation and examples. Personally, I’ve had good results using ChatGPT to write and modify scripts. It sometimes takes a bit of back-and-forth, but if you describe what you’re trying to do and share any errors you hit, it usually converges to a working solution fairly quickly.

Once you have a minimal pipeline streaming successfully, feel free to come back with Hailo-specific questions. We’re happy to help with that part.