After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712182 - iOS: AudioUnit fails on iOS7 opening audio channels with audio in/out streams
iOS: AudioUnit fails on iOS7 opening audio channels with audio in/out streams
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-12 21:07 UTC by Elio Francesconi
Modified: 2014-09-24 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elio Francesconi 2013-11-12 21:07:46 UTC
I'm using iphone5 version 7.0.3 and I noticed that opening two rtp stream, needed for a voip communication using the pipelines below, I got this error:

2013-11-09 08:17:33.668 ipDoor[314:8403] 08:17:33.668 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)
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!
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
2013-11-09 08:17:33.672 ipDoor[314:8403] 08:17:33.672 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)
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!

as result the sinkPipeline doesn't produce any audio.

#define LAUNCH_SERVER_AUDIO "osxaudiosrc ! capsfilter caps=audio/x-raw,rate=44100 ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=127.0.0.1 port=5011"

#define LAUNCH_CLIENT_AUDIO "udpsrc caps=application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA port=5011 ! rtppcmadepay ! alawdec ! audioconvert ! audioresample ! autoaudiosink"


    sourcePipeline = gst_parse_launch(LAUNCH_SERVER_AUDIO, &error);
    sinkPipeline = gst_parse_launch(LAUNCH_CLIENT_AUDIO, &error);

    if(gst_element_set_state(sourcePipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {
        GST_ERROR("GST_STATE_CHANGE_FAILURE ...");
    }
    if(gst_element_set_state(sinkPipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {
        GST_ERROR("GST_STATE_CHANGE_FAILURE ...");
    }
Comment 1 Elio Francesconi 2013-11-13 14:02:27 UTC
AudioUnit fails to
Comment 2 Elio Francesconi 2014-07-08 12:16:57 UTC
Issue disappeared with iOS version 7.1
Comment 3 Robert Swain 2014-09-17 08:21:57 UTC
I still see this on iOS 7.1.
Comment 4 Sebastian Dröge (slomo) 2014-09-24 10:52:26 UTC
You have to use the AVAudioSession API to set the category of your app. If you want to capture and play you need to set AVAudioSessionCategoryPlayAndRecord