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

Streaming media in iOS has long load times

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-media
    • None
    • iOS platform within cordova

    Description

      Using the plugin, cordova-plugin-media, one can stream audio/video media. On the iOS front, streaming media can take anywhere from 8-10 seconds to start playing, even if the length of the media is < 10 mins.

      The culprit here is `automaticallyWaitsToMinimizeStalling` property, that seems to buffer a more than required amount of the media causing load time delays. In some cases, it actually downloads the entire media file before starting and on slow internet connections this can mean load times of > 15 seconds.

      Disabling this property should make iOS media load times to almost instant as it will only buffer a default/set amount.

      Attachments

        Activity

          People

            Unassigned Unassigned
            AshishMehra Ashish Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: