[AC-6510] iOS: Recording AMR Audio
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Muhammad Ahmed Fahad |
| Assignee | Abir Mukherjee |
| Created | 2020-03-23T08:29:19.000+0000 |
| Updated | 2020-03-23T08:30:25.000+0000 |
Description
Tested using Titanium SDK 9.0.0.GA
What is a valid configuration to record audio in the AMR format.
Setting only file format to AUDIO_FILEFORMAT_AMR:
audioRecorder = Ti.Media.createAudioRecorder({
format: Titanium.Media.AUDIO_FILEFORMAT_AMR
});
or with any other compression seems to throw an error:
[ERROR] : initializing Recorder. Error Error Domain=NSOSStatusErrorDomain Code=1718449215 "(null)"
Shouldn't AMR be declared as a compression instead of fileformat??
No comments