GStreamer AAC audio stream delay in iOS

2019-08-30 23:59发布

问题:

I'm playing aac audio stream on my iOS device using GStreamer SDK, its working fine, but delay is above 2.0 seconds.

Can I make this delay lower then 2.0 seconds?

There may be some buffering issue.

This is how I'm creating the pipeline

pipeline = gst_parse_launch("playbin2", &error);

回答1:

try setting the latency like this:

g_object_set(G_OBJECT(pipeline.source), "latency", 250, NULL);