cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13445) Streaming media in iOS has long load times
Date Fri, 13 Oct 2017 23:20:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204338#comment-16204338
] 

ASF GitHub Bot commented on CB-13445:
-------------------------------------

GitHub user AshishMehra opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/149

    CB-13445: (ios) Streaming media can take up to 8-10 seconds to start - fixed!

    <!--
    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    iOS
    
    ### What does this PR do?
    iOS streaming media can take up to 8-10 seconds to start. This fix allows streaming media
to start right away. Caveat: on a slow internet connection there might be pauses for buffering
(depends on size+length of media).
    
    ### What testing has been done on this change?
    Tested on Ionic 1 & Ionic 2/3 using Cordova.
    Tested on iPhone 5s, iPhone6 Plus, iPhone X (simulator)
    
    ### Checklist
    - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA
database
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [X] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/AshishMehra/cordova-plugin-media ashishmehra-cordova-plugin-media

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/149.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #149
    
----
commit 602729c7a3957da8a64e80ce4631281c0500d4b9
Author: Ashish Mehra <ashish@hilltopcreative.co>
Date:   2017-10-13T23:00:52Z

    iOS streaming media can take up to 8-10 seconds to start. This fix allows streaming media
to start right away. Caveat: on a slow internet connection there might be pauses for buffering
(depends on size+length of media).

----


> Streaming media in iOS has long load times
> ------------------------------------------
>
>                 Key: CB-13445
>                 URL: https://issues.apache.org/jira/browse/CB-13445
>             Project: Apache Cordova
>          Issue Type: Improvement
>         Environment: iOS platform within cordova 
>            Reporter: Ashish Mehra
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message