Live Video Streaming to Server

Alexander Wolfe alex at five381.com
Thu Apr 16 16:21:56 UTC 2020


I did this recently with nginx and RTMP, using videojs like Yair suggested.
I put the details here:
https://five381.com/blog/2020-03/rpi-camera-rtmp-streaming/

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.


On Thu, Apr 16, 2020 at 7:11 AM Yair Reshef <yair99 at gmail.com> wrote:
>
>> 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
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200416/be5ccdc2/attachment.htm>


More information about the gstreamer-devel mailing list