Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14215

Playing/Alternating between remote URLs and local files can lead to using wrong player (IOS), and we hear no sound!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Master
    • Master
    • cordova-plugin-media
    • Happens on all IOS version of the plugin, it affects current master version and previous versions. A pull request with the fix will be submitted relating to this bug 

    Description

      Alternating between remote media files (http or https) and local ones (file or cdvfile) can lead to no sound output. This affects at least all the IOS versions of the plugin
      This happens because different players are used to play either network streams or local files (AVPlayer or CDVAudioPlayer

      HOWTO reproduce: Play first a  remote URL (ex: http:// or https://) and afterwards a local file (ex: file:// or cdvfile://)
      Expected Result: Both sounds should play
      Actual Result: The first sound plays but not the second one, because the plugin tries to play it wrongly with the same player as the first one

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              uareurapid Paulo Cristo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: