[TIMOB-148] createSound incorrectly treats all URL's as bundled
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:52:08.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 0.7.0 |
| Components | Android |
| Labels | android, defect |
| Reporter | Don Thorp |
| Assignee | Don Thorp |
| Created | 2011-04-15T02:24:20.000+0000 |
| Updated | 2011-04-17T01:52:08.000+0000 |
Description
createSound was not checking for file:// or http:// URLs and was passing them directly to the AssetFile resolver.
See support issue http://support.appcelerator.net/discussions/announcements/115-mobile-mediacreatesound-with-url-throws-resource-not-found-exception"> Media.createSound with URL throws resource not found exception
(from [b0eee1a6b7e206e3c60c9846768811b962e7e3dc]) [#148 state:resolved] extended createSound to pass http/https/file urls through without modification. http://github.com/appcelerator/titanium_mobile/commit/b0eee1a6b7e206e3c60c9846768811b962e7e3dc"> http://github.com/appcelerator/titanium_mobile/commit/b0eee1a6b7e20...
Was this change implemented for the iPhone side as well, as to fix streaming audio which was not working.
Please open a support ticket, this ticket was to track an Android defect.