iOS: AURemoteIO at 0x31ab420: IOThread exiting with error 0x10004006
Sebastian Dröge
sebastian at centricular.com
Sat Nov 9 10:35:50 PST 2013
On Sa, 2013-11-09 at 19:19 +0100, Elio Francesconi wrote:
> Sorry Sebastian I did some tests but I’m not able to use properly capsfilter, but I did these tests:
>
> this pipeline works very good:
> gst_parse_launch("osxaudiosrc ! audioconvert ! audioresample ! autoaudiosink", &error);
> this pipeline works too:
> gst_parse_launch("audiotestsrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);
>
> this one no:
> gst_parse_launch("osxaudiosrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);
>
> then as you suggested, but I’m not confident have understood your suggestion I converted osxaudiosrc with capsfilter:
> gst_parse_launch("osxaudiosrc ! audioconvert ! audio/x-raw,format=S16LE,channels=1,layout=interleaved,rate=8000 ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);
>
> But it seems this caps filter doesn’t fix my issue…
Yeah because you let the conversion be done by audioconvert, instead of
having osxaudiosrc negotiate to a different format. But from looking at
the code it only supports S32LE anyway (currently).
So what you could try is to check if osxaudiosrc negotiates to different
caps in the working and non-working case. For that you could for example
connect to the notify::caps signal on the srcpad of osxaudiosrc, and
from the callback there call gst_pad_get_current_caps() and then print
that.
Alternatively it's also printed in the debug logs somewhere :)
If the caps are the same, the problem will be elsewhere (also adding a
queue somewhere in the pipeline might be a good idea, like in front of
the encoder).
--
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131109/0f6da615/attachment.pgp>
More information about the gstreamer-devel
mailing list