Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-148] createSound incorrectly treats all URL's as bundled

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:08.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.7.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:24:20.000+0000
Updated2011-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

Comments

  1. Don Thorp 2011-04-15

    (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...

  2. mentalengine 2011-04-15

    Was this change implemented for the iPhone side as well, as to fix streaming audio which was not working.

  3. Don Thorp 2011-04-15

    Please open a support ticket, this ticket was to track an Android defect.

JSON Source