Problem with tcpserversink

Tim Müller tim at centricular.com
Sat Sep 26 11:25:13 UTC 2020


On Thu, 2020-09-24 at 00:42 -0500, Sheetal Salunkhe wrote:

> I am using tcpserversink to send out live ogg video data, it works in
> firfox browser but fails to work in chrome. In chrome I am getting
> error messge "ERR_INVALID_HTTP_RESPONSE". 
> 
> Is there any way to work out this in chrome also?

That's because tcpserversink it not an http server.

You might want something like

 
https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/network/http-launch/http-launch.c

More info here:

https://coaxion.net/blog/2013/10/streaming-gstreamer-pipelines-via-http/

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list