multiple udpsink in single bin

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

multiple udpsink in single bin

nagendra sarma
Hi All

can we have multiple udpsinks in single bin ? will it cause any performance issues ?

for example i have following requirement,

                     -----> encode--> rtp --> udpsink |
video-->tee->|                                               | -> encode+rtp+udpsink
                      __>encode-->rtp-->udpsink       |     are part of single bin
audio-->tee-->|

so, each bin has two udpsinks for audio and video each

regards,
nagendra


Reply | Threaded
Open this post in threaded view
|

Re: multiple udpsink in single bin

Tim Müller
On Sun, 2017-02-19 at 22:30 -0800, nagendra sarma wrote:

Hi,

Your diagram got a bit messed up it seems, but in any case, there
should not be any performance issues with putting multiple udpsink into
a single bin (vs. having it in separate bins). You can always add some
queues in strategic places (e.g. before payloader and/or between
payloader + udpsink).

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
Reply | Threaded
Open this post in threaded view
|

Re: multiple udpsink in single bin

nagendra sarma
This post was updated on .
Hi Tim,

thanks for reply,

sorry, the diagram was not so perfect, ok let me put it simple
i have    
queue-->encode--> rtph264-->udpsink  
and
queue-->encode-->rtpmp4gpay-->udpsink
in same bin

both carry separate data (audio and video from v4lsrc and alsasrc)

so, according to your input
the above pipe line is not wrong, and doable.

two udpsinks with diff data in single bin, may i know how this synchronization will takes palace ?
should i add special properties or parameters  to achieve synchronization ?
because i faced issues with video was not smooth with audio in the same bin

i will also add queues and check

regards,
Nagendra