Gstreamer pipeline output to be viewed in localhost using html5, JS and CSS

Hello developers,

I’m developing in Go using the go-gst/go-gst/gst wrapper on linux ubuntu using stock standard Gstreamer which comes on the 24.4 LTS build.

I have two video 1080HD outputs and sending using the new unixfdsink/unixfdsrc elements.
I’m wanting to share the output amongst other apps running on the same server.
The other apps take the share memory from unixfdsrc and attach to rtmp2sink after encoding of video and audio from separate unixfdsrc’s.

Why, to handle RTMP metric’s in it own instance containing checks/restarts without bringing down the main pipeline.

Another instance is the for local playback monitoring using decklinksink and lastly , I require to produce a side-by-side with 2 x PIP cutouts and have done so with some basic html5, css formatting and successfully have a background loop of video and audio etc.
I’m using the [video] [/video] tags in html5 to play a local mp4 file in a loop no issues however, I require to view a gstreamer end points (x2) and want to know how to do this somehow?

My research, believes this is not possible to use a simple shared memory in html5 and requires using either WebRTC or could a UDP/TCP source be used?

I did try WebM however the latency was horrible. 10 seconds on the local machine which is unacceptable.

I’d appreciate if there is anyone is able to point me to somewhere to research on a method (example) OR alternatively use soe other solution to get GStreamer into html5 local viewer?

Thanks