Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2746] Unable to record audio as M4A / AAC in iOS 5

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2011-08-06T10:07:12.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsaac, audio, ios5, m4a, recording
Reporterkosso
AssigneeTony Guntharp
Created2011-08-05T10:23:50.000+0000
Updated2016-03-08T07:47:38.000+0000

Description

In testing apps for the latest iOS 5 beta, I've found that audio recording in M4A / AAC is silently failing. A small file is always created of the same size all the time [57344 bytes] , but with no audio. Recording in this format has always been possible before iOS 5. To test, try changing the recording format and compression values in the KS [sound_record.js](https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/sound_record.js) demo to :
recording.compression = Ti.Media.AUDIO_FORMAT_AAC;
recording.format = Ti.Media.AUDIO_FILEFORMAT_MP4A;
This has been tested on an iPhone 4 and iPad2 running iOS 5.0 (9A5274d) Any ideas? This is critical fo alot of my apps to work.

Comments

  1. kosso 2011-08-05

    fyi: This seems to have worked fine in iOS5 Beta 3, but broken in iOS5 Beta 4
  2. Paul Dowsett 2011-08-06

    Hi Kosso I'm very sorry, we are grateful for your effort in raising this ticket, but unfortunately we only accept tickets for released software. To put it another way, the [Titanium Compatibility Matrix](http://wiki.appcelerator.org/display/guides/Titanium+Compatibility+Matrix#TitaniumCompatibilityMatrix-iOSSDK%2FTargetiOSPlatform) contains all the software that is officially supported, so if it isn't listed there, then we cannot accept a ticket for it. This is because it often happens that issues like these are resolved between beta releases without our intervention. I hope you can appreciate these reasons. Cheers
  3. kosso 2011-08-06

    Hi, You'll be pleased (but possibly unconcerned) that the iOS5 Beta 5 has fixed the issue. Cheers
  4. Paul Dowsett 2011-08-07

    Good to hear, Kosso. Thanks for updating this ticket - it may well be useful for anyone searching for information about the issue in future.
  5. Paul Dowsett 2011-10-07

    Closing due to inactivity.

JSON Source