Problem with tcpserversink

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with tcpserversink

Sergio Ortega
Good morning,

     I have developed, with GStreamer 0.10, a pipeline which streamed live OGG video to Chrome. The end of the pipeline was: oggmux ! tee ! queue ! tcpserversink host=0.0.0.0 port=1027, and the reception at Chrome was done with <video src="http://[host's IP]:1027"></video> It worked well. 

     The problem happened when I migrated everything to GStreamer 1.0. There, the tcpserversink replies, at each attempt of connection, with the following error: "multisocketsink gstmultisocketsink.c:596:gst_multi_socket_sink_handle_client_read:<tcpserversink53> [socket 0x7f9dac002680] could not read: Error receiving data: Resource temporarily unavailable". Has anybody any idea?

Thanks a lot

SERGIO ORTEGA GAMERO

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with tcpserversink

Sheetal Salunkhe
This post was updated on .
I am using tcpserversink to send out live ogg video data (using gstreamer versin : 1.14.2), it works in firefox
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?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with tcpserversink

Tim Müller
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel