<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le lun. 17 sept. 2018 04 h 13, themanonthemoon <<a href="mailto:adkyriazis@gmail.com">adkyriazis@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
I am just getting into the world of networking/protocols/streaming and could<br>
use some clarifying answers.<br>
<br>
1. Why is there no simple way to setup an http server in a similar way to<br>
using a tcpserversink or a udpsink? If I need to send a video to an http<br>
server how would I do this?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">If you are serving files, you don't need GStreamer. If you want to serve streams, you can use libsoup, and giosink. You could also write an element for that, but I guess it's not very flexible and won't adapt to all use cases.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2. What is actually happening under the hood when I use a tcpserversink? If<br>
I use this sink, I can view the video in an html5 video element in my<br>
browser. Doesn't this mean somewhere along the line it is using an http<br>
protocol?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I am very surprised you managed to get anything working in a video tag using tcpserversink.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer 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" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>