Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76BE1200D2A for ; Sat, 14 Oct 2017 01:20:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 750B6160BE5; Fri, 13 Oct 2017 23:20:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BB0711609E9 for ; Sat, 14 Oct 2017 01:20:05 +0200 (CEST) Received: (qmail 19797 invoked by uid 500); 13 Oct 2017 23:20:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 19695 invoked by uid 99); 13 Oct 2017 23:20:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2017 23:20:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0559C1A17F9 for ; Fri, 13 Oct 2017 23:20:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3o5XBeBup932 for ; Fri, 13 Oct 2017 23:20:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 28A325F3CE for ; Fri, 13 Oct 2017 23:20:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 65433E059C for ; Fri, 13 Oct 2017 23:20:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2795624360 for ; Fri, 13 Oct 2017 23:20:00 +0000 (UTC) Date: Fri, 13 Oct 2017 23:20:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-13445) Streaming media in iOS has long load times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Oct 2017 23:20:06 -0000 [ 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! ### 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 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