tcp ogg broadcasting
Lee Matthews
lma at spaceapplications.com
Mon Jun 16 00:56:59 PDT 2014
Thanks Tim!
----- Original Message -----
From: "Tim Müller" <tim at centricular.com>
To: gstreamer-devel at lists.freedesktop.org
Sent: Friday, 13 June, 2014 5:35:47 PM
Subject: Re: tcp ogg broadcasting
On Fri, 2014-06-13 at 16:59 +0200, Lee Matthews wrote:
Hi Lee,
> If I wish to rebroadcast an ogg stream over tcp from one client to many
> clients, could I do something like the following :
>
>
> camera_transmitter :
>
> gst-launch v4l2src ! theoraenc ! oggmux ! tcpserversink host=0.0.0.0
>
>
> broadcast_pc :
>
> gst-launch tcpclientsrc host=camera_transmitter ! tcpserversink host=0.0.0.0
>
>
> viewer_pc :
>
> gst-launch tcpclientsrc host=broadcast_pc ! oggdemux ! theoradec ! autovideosink
>
>
> Could a system such as the above function ?
Almost. I think you will need an 'oggparse' element between the src and
sink on your broadcast_pc. oggparse will parse out the initial headers
and make them available to tcpserversink, which needs to send them to
each client that connects later after streaming has started.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list