[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-11-07 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

ptykamikaze removed a comment on issue #169: CB-13445 (iOS) Streaming media can 
take up to 8-10 seconds to start
URL: 
https://github.com/apache/cordova-plugin-media/pull/169#issuecomment-436495716
 
 
   Hello! I had this plugin working fine loading mp3 from websites... but my 
app use local and web files... now that I got this latest changes, the mp3 from 
websites are not playing...


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-11-07 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

janpio commented on issue #169: CB-13445 (iOS) Streaming media can take up to 
8-10 seconds to start
URL: 
https://github.com/apache/cordova-plugin-media/pull/169#issuecomment-436598877
 
 
   @ptykamikaze Issues can be created here: 
https://github.com/apache/cordova-plugin-media/issues Include a link to this PR 
if you think this caused a regression.


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-11-06 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

ptykamikaze commented on issue #169: CB-13445 (iOS) Streaming media can take up 
to 8-10 seconds to start
URL: 
https://github.com/apache/cordova-plugin-media/pull/169#issuecomment-436495716
 
 
   Hello! I had this plugin working fine loading mp3 from websites... but my 
app use local and web files... now that I got this latest changes, the mp3 from 
websites are not playing...


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-07-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

purplecabbage 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-403709526
 
 
   This has been merged to master. Thanks!
   Closing, since it didn't auto-close...


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-07-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

purplecabbage closed pull request #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
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m
index e1542871..c6ccdfbc 100644
--- a/src/ios/CDVSound.m
+++ b/src/ios/CDVSound.m
@@ -249,6 +249,9 @@ - (void)create:(CDVInvokedUrlCommand*)command
 // Pass the AVPlayerItem to a new player
 avPlayer = [[AVPlayer alloc] initWithPlayerItem:playerItem];
 
+//Avoid excessive buffering so streaming media can play instantly 
on iOS
+avPlayer.automaticallyWaitsToMinimizeStalling = NO;
+
 //avPlayer = [[AVPlayer alloc] initWithURL:resourceUrl];
 }
 


 


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-07-09 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on CB-13445:
--

Commit 43d57ca34d02178bae6487da58207e268362fb44 in cordova-plugin-media's 
branch refs/heads/master from [~purplecabbage]
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-media.git;h=43d57ca ]

CB-13445 (iOS) Streaming media can take up to 8-10 seconds to start (#169)

* 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).

* include check for iOS version so we don\'t break iOS<10. Thanks @ghenry22

* bump travis CI xcode versions


> 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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-07-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

purplecabbage closed pull request #169: CB-13445 (iOS) Streaming media can take 
up to 8-10 seconds to start
URL: https://github.com/apache/cordova-plugin-media/pull/169
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index f39fe518..7b2ebfb7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,12 +26,12 @@ matrix:
 node_js: '6.14.2'
   - env: PLATFORM=ios-9.3
 os: osx
-osx_image: xcode7.3
+osx_image: xcode8.3
 language: node_js
 node_js: '6.14.2'
   - env: PLATFORM=ios-10.0
 os: osx
-osx_image: xcode7.3
+osx_image: xcode8.3
 language: node_js
 node_js: '6.14.2'
   - env: PLATFORM=android-4.4
diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m
index 7a00eadf..d63b0ab2 100644
--- a/src/ios/CDVSound.m
+++ b/src/ios/CDVSound.m
@@ -265,7 +265,11 @@ - (void)create:(CDVInvokedUrlCommand*)command
 // Pass the AVPlayerItem to a new player
 avPlayer = [[AVPlayer alloc] initWithPlayerItem:playerItem];
 
-//avPlayer = [[AVPlayer alloc] initWithURL:resourceUrl];
+// Avoid excessive buffering so streaming media can play instantly 
on iOS
+// Removes preplay delay on ios 10+, makes consistent with ios9 
behaviour
+if ([NSProcessInfo.processInfo 
isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){10,0,0}]) {
+avPlayer.automaticallyWaitsToMinimizeStalling = NO;
+}
 }
 
 self.currMediaId = mediaId;


 


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-07-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13445:
-

purplecabbage opened a new pull request #169: CB-13445 (iOS) Streaming media 
can take up to 8-10 seconds to start
URL: https://github.com/apache/cordova-plugin-media/pull/169
 
 
   
   
   ### Platforms affected
   iOS
   
   ### What does this PR do?
   Calls iOS>=10 API to prevent waiting for the media stream to buffer before 
playing
   
   ### What testing has been done on this change?
   tests pass
   
   ### 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- is the JIRA ID & "android" is the platform 
affected.
   - [x] Added automated test coverage as appropriate for this change.
   


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-05-15 Thread ASF GitHub Bot (JIRA)

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

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 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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-05-15 Thread ASF GitHub Bot (JIRA)

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

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-389078075
 
 
   @pbirsinger yes what I typed is the only change that is needed.  Once that 
change is made then this PR does what it says it does.  I have been using it 
for months on my own fork and it works perfectly with no issue.


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-02-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13445:
-

hazaveh 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-366511136
 
 
   this doesn't really help. i applied this but i still get a long load time. 
any workaround?


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-02-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13445:
-

pbirsinger 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-365746297
 
 
   Bump. This still seems to be a major issue as far as I can tell.


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-02-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13445:
-

pbirsinger 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-365746297
 
 
   Bump. This still seems to be a major issue as far as I can tell. @ghenry22 
is that all that is needed?


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2018-02-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13445:
-

pbirsinger 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-364221381
 
 
   Any updates here? This would be great to have


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:
us...@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
>Priority: Major
>
> 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
(v7.6.3#76005)

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



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2017-11-22 Thread ASF GitHub Bot (JIRA)

[ 
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:
us...@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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2017-11-01 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13445:
-

stevengill 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-341254958
 
 
   Looks like the property was added in iOS10. Cordova still supports iOS9. 
Will this cause issues there? 
https://developer.apple.com/documentation/avfoundation/avplayer/1643482-automaticallywaitstominimizestal


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:
us...@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
>Priority: Major
>
> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2017-10-13 Thread ASF GitHub Bot (JIRA)

[ 
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- 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13445) Streaming media in iOS has long load times

2017-10-13 Thread Ashish Mehra (JIRA)

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

Ashish Mehra commented on CB-13445:
---

I am sending a working solution (well tested) as a pull request shortly

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org