GStreamer AAC audio stream delay in iOS

我怕爱的太早我们不能终老 提交于 2019-12-12 03:24:30

问题


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);


来源:https://stackoverflow.com/questions/32865653/gstreamer-aac-audio-stream-delay-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!