Synchronization in Audiosink

Stefan Ulbrich stefan.ulbrich at acceptto.com
Fri Jul 20 21:37:47 UTC 2018


Hello

I need help with a custom audiosink plugin for wrapping an device from
which I cannot the #samples queued (an IP camera). As a result the
signal of

gst-launch-1.0 audiotestsrc ! mulawenc ! myaudiosink

is very distorted. I can improve the situation by adding g_usleep in
the write function.

adding is-live=true to audiotestsrc makes it worse.

How can I achieve a "real-time" synchronization to prevent sending
data too fast?

Thank you and best wishes
Stefan


More information about the gstreamer-devel mailing list