[gst-devel] [GstRtpBin] Video streaming/receiving simultaneously

Andreas Auer a.auer at zydacron.com
Fri Feb 4 12:04:43 CET 2011


Hello,

I'm currently working with GStreamer and want to build an application 
which is able to transmit an encoded video captured from a camera and 
receive a video stream, decode and display it simultaneously.

I put all the elements in one pipeline. The input stream has a short 
delay because of buffering (some seconds). I have seen in the debugging 
output of gstreamer that a latency query is sent to all sink elements. 
And the value "MAX(all min_latencies)" is taken to synchronize the streams.
Now, the problem is that I don't want to synchronize the incoming and 
outgoing stream! I want to send the encoded data as fast as possible to 
the client.

I think my problem arose because I have put all my elements in one 
pipeline, am I right? But how can I fix this?? For most of the elements 
it wouldn't be a problem to put it into two different pipelines. But the 
same GstRtpBin element is used by the incoming and outgoing stream. Can 
I put one element into two different pipelines??

Thanks,
Andreas





More information about the gstreamer-devel mailing list