<div dir="ltr"><div>I did this recently with nginx and RTMP, using videojs like Yair suggested. I put the details here: <a href="https://five381.com/blog/2020-03/rpi-camera-rtmp-streaming/">https://five381.com/blog/2020-03/rpi-camera-rtmp-streaming/</a></div><div><br></div><div>If you move the nginx server off of the pi to another host I think it will be what you want. That's what I'm doing right now actually.</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020 at 7:11 AM Yair Reshef <<a href="mailto:yair99@gmail.com" target="_blank">yair99@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">the, videojs has hls (they call it vhs) built in.<br>
like this. just adapt to your .m3u8 location, more here<br>
<a href="https://videojs.github.io/http-streaming/" rel="noreferrer" target="_blank">https://videojs.github.io/http-streaming/</a><br>
<br>
<video-js id=vid1 width=600 height=300 class="vjs-default-skin" controls><br>
  <source<br>
     src="<a href="https://example.com/index.m3u8" rel="noreferrer" target="_blank">https://example.com/index.m3u8</a>"<br>
     type="application/x-mpegURL"><br>
</video-js><br>
<script src="video.js"></script><br>
<script src="videojs-http-streaming.min.js"></script><br>
<script><br>
var player = videojs('vid1');<br>
player.play();<br>
</script><br>
<br>
<br>
didn't get to work on android for some reason,<br>
i guess is "server issues" as i tried with caddy and not the good old nginx.<br>
<br>
<br>
On Thu, Apr 16, 2020 at 4:31 PM strange_loop <<a href="mailto:aksoyfurkan45@gmail.com" target="_blank">aksoyfurkan45@gmail.com</a>> wrote:<br>
><br>
> Rtsp really felt like black art. I think it is an expertise on its own. Maybe<br>
> you need to be a dark lord to understand it :)<br>
><br>
> For the clarification, this pipeline streams video to the rtsp server and<br>
> video.js listens to it, right?<br>
><br>
> And would something like this be sufficient for the server?<br>
> <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video.c" rel="noreferrer" target="_blank">https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video.c</a><br>
> or<br>
> <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video-rtx.c" rel="noreferrer" target="_blank">https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video-rtx.c</a><br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
</blockquote></div></div>