signalling changes through a socket, is there alternatives?

Stefan Sauer ensonic at hora-obscura.de
Thu Dec 15 05:32:00 PST 2011


On 12/15/2011 11:05 AM, ibrahim suliman wrote:
> Hi, 
>
> We have two machines on is a gstreamer server streaming mpeg4 video of
> different capabilities (resolution and frame rate) that can be
> adjusted dynamically while streaming, and the other one is a gstreamer
> client playing out the streamed video on the screen.  I need the
> gstreamer server to be able to immediately signal to the receiver any
> change made, in order for the receiver to display the changes on the
> screen. my approach is to create a socket connection between the
> server and receiver and do the signalling through it. We ended up
> havinga multi-threaded app of two processes one is the gstreamer
> process and one is the socket process. Any change to the streamed
> video at the gstreamer process (at the server side) immediately
> triggers the socket process to send a message informing the client
> about it.
>
> I am quite a beginner in both gstreamer and socket programming but I
> feel that this approach in inefficient and there should be more
> efficient way to do this using gstreamer only. So the question is
> whether gstreamer provides a signalling mechanism between the server
> and its clients? If yes, please help and explain how to start learning so.

Use a streaming protocol like rtsp.
Stefan

>
> Any help would be appreciated.
>
> Cheers
>
> Ibra
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111215/41ce4fb7/attachment.htm>


More information about the gstreamer-devel mailing list