<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">hi Sebastian,<div>thanks again for your time you spent with my issues.</div><div>I did some tests with a basic application, so to be reproducible, and it seems the issue on osxaudiosrc is a different one, I’ll try to create a base pipeline to explain better how the issue occurs.</div><div><br></div><div>In the mean time  I  created a simple pipeline so to test the osxaudiosrc module and I noticed that with this simple pipeline the audio captured with my iphone5 (iOS 7.0.3) is distorted.</div><div><br></div><div>To reproduce the issue I modified the tutorial2 using the pipeline below and I started on my linux client your script: ./client-PCMA.sh</div><div><span style="color: rgb(209, 47, 27); font-family: Menlo; font-size: 11px;">osxaudiosrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011</span></div><div><br></div><div> Did I miss to set some osxaudiosrc properties or do you think it is a bug?</div><div><br></div><div>Thanks</div><div>Elio</div><div><br></div><div><div><div>On 09 Nov 2013, at 12:08, Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Sa, 2013-11-09 at 09:45 +0100, Elio Francesconi wrote:<br><blockquote type="cite">Hi all,<br>I’m developing a stream audio for iOS platforms and I’m facing a new issue with my rtp stream.<br>I got an error while I’m streaming audio using “osxaudiosrc”, the audio received is distorted and I noticed this error:<br><br>2013-11-09 08:17:33.668 ipDoor[314:8403] 08:17:33.668 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)<br>0:00:39.088255000 [333m  314[00m  0x2a737e8 [31;01mERROR  [00m [00;04m             default gstosxcoreaudiocommon.c:128:gst_core_audio_io_proc_start:<osxaudioringbuffer0>[00m AudioOutputUnitStart failed: sqa!<br>2013-11-09 08:17:33.670 ipDoor[314:8903] 08:17:33.670 ERROR:     [0x7f70000] >aurioc> 1455: AURemoteIO@0x31ab420: IOThread exiting with error 0x10004006<br>2013-11-09 08:17:33.672 ipDoor[314:8403] 08:17:33.672 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)<br>0:00:39.092167000 [333m  314[00m  0x2a737e8 [31;01mERROR  [00m [00;04m             default gstosxcoreaudiocommon.c:128:gst_core_audio_io_proc_start:<osxaudioringbuffer0>[00m AudioOutputUnitStart failed: sqa!<br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><br><br>Note: if I use audiotestsrc the audio stream received is good..<br><br>Can someone give me some hints to debug this issue?<br></blockquote><br>Can you file a bug about this too, including the complete debug log and<br>the exact device you're using. Ideally also including a patch to one of<br>the tutorial applications to reproduce the problem :)<br><br>I assume we're doing something wrong with the initialization of the iOS<br>audio API there. As a first step I would look at what values we pass<br>there and if others maybe work better (different buffer sizes, sample<br>rates, number of channels, etc). And then check what other applications<br>are doing.<br><br>-- <br>Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br>Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a><br>Expertise, Straight from the Source<br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote></div><br></div></body></html>