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 Thu, 23 Nov 2017 06:20:00 GMT

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

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

ghenry22 commented on issue #149: CB-13445: (ios) Streaming media can take up to 8-10 seconds
to start - fixed!
URL: https://github.com/apache/cordova-plugin-media/pull/149#issuecomment-346538770
 
 
   wrap it like so:
   
   ```
   if ([NSProcessInfo.processInfo isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){10,0,0}])
{
       avPlayer.automaticallyWaitsToMinimizeStalling = NO;
   }
   ```
   
   on OS prior to iOS10 this was the default behaviour playback behaviour anyway for everything
except HLS format streams.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>          Components: cordova-plugin-media
>         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