Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-790

Ti.Media.Sound does not fire 'error' event when remote url is not found

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: iOS
    • Labels:

      Description

      {html}<div><p>In KS, try entering a bogus url in sound_remote_url.js and add
      an event listener for 'error.</p>
      <pre>
      <code>sound.addEventListener('error', function()
      {
      Ti.API.info('sound error event fired');
      });</code>
      </pre>
      <p><a href="/projects/32238/changesets/WARN" title=
      "Changeset [WARN]">[WARN]</a> shows...</p>
      <pre>
      <code>[WARN] Error Domain=NSOSStatusErrorDomain Code=1954115647 "Operation could not be completed. (OSStatus error 1954115647.)". error loading sound url: file://localhost/var/folders/HJ/HJqe8P+0GNC-lEqdi0afZE+++TI/-Tmp-/A306.wav in -[TiMediaSoundProxy player] (TiMediaSoundProxy.m:122)</code>
      </pre>
      <p>.. but no error event seems to be fired.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              kosso kosso
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-758
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration