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

Streaming media in iOS has long load times

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-media
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              Unassigned
              Reporter:
              AshishMehra Ashish Mehra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: