GNOME Bugzilla – Bug 622211
[souphttpserversink] HTTP server sink element (and/or library)
Last modified: 2012-10-03 23:36:46 UTC
I think would be very useful to add the http protocol to tcpserversink, actually gstreamer tcp plugins works only on linux so there is no way for a windows client to see such stream, if you add http protocol to tcpserversink one can see for example multipart jpeg over http generated with tcpserversink with any client on windows and linux, thanks Nicola
Instead of reimplementing all the HTTP logic it might be a better idea to add a souphttpsink or souphttpserversink element to the soup plugin and have it use libsoup's HTTP server supported. tcpserversink definitely is the wrong place for this.
Better would be a helper library like gst-rtsp-server that implemented an HTTP server using multifdsink. It's so easy that I haven't even bothered to make my code available that does this. On the other hand, an element that implements a quick-and-dirty HTTP server that can be used in gst-launch would be nice. Assigning to me, to put it on my "interesting things to do" list, but that doesn't mean I'll ever get to it.
I agree, multifdsink is the right choice to build an http server and is what I'm actually using, I think my original bug report is not more valid (I did known about multifdsink when I reported it). The only bad thing about multifdsink is that it doesn't work on windows but this is another issue I think
> I think my original bug report is not more valid Ok, let's close this then! :) > The only bad thing about multifdsink is that it doesn't > work on windows but this is another issue I think It should work on Windows now (1.0) since it was ported to the new gio API, or at least multisocketsink should. Also, there's the gstreamer-streaming-server now, which might be interesting to you.