AppSrc "max-latency" calculation

maddy2607 midhunk at erena.in
Fri Sep 27 04:59:04 UTC 2019


Hi Friends,
              i have a pipeline of
appsrc->audioconvert->audioresample->capsfilter->alsasink.

 g_object_set(app_src, "caps", app_filter1, "format", GST_FORMAT_TIME,
"is-live", TRUE, "do-timestamp", TRUE, "min-latency", 0, "block", TRUE,
"max-bytes", 4096, "size", 4096, NULL);
 g_object_set(alsa_sink, "device", DEVICE, "sync", TRUE, "blocksize", 1024,
"buffer-time", 42666, "latency-time", 5333, "max-bitrate", 1536000,  NULL);

I am finding a lag in the audio, which increases with time. 
The Output alsa format is :
buffer size = 2048
period size = 256
sampling rate = 48000

Why is my audio is lagging behind?Is it because of "max-latency" value? How
is it calculated? Please help me in this issue




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list