Basic questions about HTTP / TCP

Nicolas Dufresne nicolas at ndufresne.ca
Mon Sep 17 12:23:26 UTC 2018


Le lun. 17 sept. 2018 04 h 13, themanonthemoon <adkyriazis at gmail.com> a
écrit :

> Hello!
>
> I am just getting into the world of networking/protocols/streaming and
> could
> use some clarifying answers.
>
> 1. Why is there no simple way to setup an http server in a similar way to
> using a tcpserversink or a udpsink? If I need to send a video to an http
> server how would I do this?
>

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.


> 2. What is actually happening under the hood when I use a tcpserversink? If
> I use this sink, I can view the video in an html5 video element in my
> browser. Doesn't this mean somewhere along the line it is using an http
> protocol?
>

I am very surprised you managed to get anything working in a video tag
using tcpserversink.



>
>
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180917/cb884f17/attachment.html>


More information about the gstreamer-devel mailing list