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

iOS: Ti.Media.AudioPlayer.setTime() stops playback at specified time; should be unsupported


    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Appcelerator Studio
      Titanium SDK 3.4.0.GA
      CLI 3.4.0
      Xcode 6.1.0
      iPhone 6, iOS 8.1
      iPhone 5 Simulator, iOS 8.1


      Ti.Media.AudioPlayer.setTime() is an Android only method. However, when it is used on iOS, it will force the AudioPlayer to stop playing at the time passed in.

      Steps to reproduce issue:
      1. Create a new project involving the below code:

      var audioPlayer = Ti.Media.createAudioPlayer({
      	url: 'http://www.tonycuffe.com/mp3/tail%20toddle.mp3',

      2. Run the app on an Android device and notice that the playback begins from the specified time location.
      3. Run the app on an iOS device and notice that the playback begins from 0:00 and plays until the specified time location.

      Expected Results:
      Either setTime() should work on iOS the same way that it is described in the docs for Android (doesn't seem possible due to TIMOB-14552), the setTime() on iOS should be a different method to indicate its current behavior (endTime()?), or calling setTime() on iOS should have no effect.




            • Assignee:
              ewieber Eric Wieber (Inactive)
            • Watchers:
              4 Start watching this issue


              • Created:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration