signalling changes through a socket, is there alternatives?

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

signalling changes through a socket, is there alternatives?

Ibra
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.

Any help would be appreciated.

Cheers

Ibra


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

Re: signalling changes through a socket, is there alternatives?

Stefan Sauer
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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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