Live Video Streaming to Server
Yair Reshef
yair99 at gmail.com
Thu Apr 16 14:10:28 UTC 2020
the, videojs has hls (they call it vhs) built in.
like this. just adapt to your .m3u8 location, more here
https://videojs.github.io/http-streaming/
<video-js id=vid1 width=600 height=300 class="vjs-default-skin" controls>
<source
src="https://example.com/index.m3u8"
type="application/x-mpegURL">
</video-js>
<script src="video.js"></script>
<script src="videojs-http-streaming.min.js"></script>
<script>
var player = videojs('vid1');
player.play();
</script>
didn't get to work on android for some reason,
i guess is "server issues" as i tried with caddy and not the good old nginx.
On Thu, Apr 16, 2020 at 4:31 PM strange_loop <aksoyfurkan45 at gmail.com> wrote:
>
> Rtsp really felt like black art. I think it is an expertise on its own. Maybe
> you need to be a dark lord to understand it :)
>
> For the clarification, this pipeline streams video to the rtsp server and
> video.js listens to it, right?
>
> And would something like this be sufficient for the server?
> https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video.c
> or
> https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-video-rtx.c
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list