[
https://issues.apache.org/jira/browse/CB-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163801#comment-13163801
]
Becky Gibson commented on CB-101:
---------------------------------
problem was in how recordingPath is getting created - when there is no subdir
[resourceURL hosts] is the file name so it works. When there is a path, the
file name does not get included. Planning to submit fix for 1.3
> Failed to play audio file located in subfolders in Documents
> ------------------------------------------------------------
>
> Key: CB-101
> URL: https://issues.apache.org/jira/browse/CB-101
> Project: Apache Callback
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.2.0
> Environment: iOS SDK 5.0
> Reporter: Binh An Tran
> Assignee: Shazron Abdullah
> Labels: ios,, local,, media, mp3
>
> i have an audio file test.mp3.
> when the file located in "Documents" folder, and i create my media object
> like this :media = new Media('documents://test.mp3'); Everything works fine.
> but when my audio file located in a subfolder in "Documents" folder, say
> "Documents/data", and i create my media object like this: media = new
> Media('documents://data/test.mp3'), i have this error in console: Failed to
> initialize AVAudioPlayer: (null) . And error code = 4
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira