[jira] [Commented] (CB-5378) Media plugin downloads media on main UI thread.

2016-09-06 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-5378:
-

this should be closed.  This issue has been resolved for some time now in the 
media plugin.

> Media plugin downloads media on main UI thread.
> ---
>
> Key: CB-5378
> URL: https://issues.apache.org/jira/browse/CB-5378
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 3.1.0
> Environment: iOS
>Reporter: Michal Mocny
>
> Reported on the mailing list by Nick Burka:
> "I’ve been implementing a simple Media playback app. It looks something like:
> console.log(’start');
> mediaPlayer = new Media(
> uri_to_my_mp3_file,
> mediaSuccess,
> mediaError,
> mediaStatus);
> console.log(’end’);
> mediaPlayer.play();
> When the JavaScript executes, it takes 20+ seconds between the ‘start’ and 
> ‘end’ logs. Then when I seekTo() on the playing file, it’s virtually 
> instantaneous. I presume that the Media class is downloading the entire file 
> on instantiation?
> A few other people seem to have the same problem:
> http://stackoverflow.com/questions/19938383/phonegap-build-media-play-takes-a-long-time-to-start-playing
> http://community.phonegap.com/nitobi/topics/phone_gap_media_api_ios_slow_loading
> Any help would be much appreciated."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-5378) Media plugin downloads media on main UI thread.

2016-03-22 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-5378:
-

This is addressed by PR #62 and can be closed

> Media plugin downloads media on main UI thread.
> ---
>
> Key: CB-5378
> URL: https://issues.apache.org/jira/browse/CB-5378
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.1.0
> Environment: iOS
>Reporter: Michal Mocny
>
> Reported on the mailing list by Nick Burka:
> "I’ve been implementing a simple Media playback app. It looks something like:
> console.log(’start');
> mediaPlayer = new Media(
> uri_to_my_mp3_file,
> mediaSuccess,
> mediaError,
> mediaStatus);
> console.log(’end’);
> mediaPlayer.play();
> When the JavaScript executes, it takes 20+ seconds between the ‘start’ and 
> ‘end’ logs. Then when I seekTo() on the playing file, it’s virtually 
> instantaneous. I presume that the Media class is downloading the entire file 
> on instantiation?
> A few other people seem to have the same problem:
> http://stackoverflow.com/questions/19938383/phonegap-build-media-play-takes-a-long-time-to-start-playing
> http://community.phonegap.com/nitobi/topics/phone_gap_media_api_ios_slow_loading
> Any help would be much appreciated."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-5378) Media plugin downloads media on main UI thread.

2013-11-13 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13821725#comment-13821725
 ] 

Shazron Abdullah commented on CB-5378:
--

See https://issues.apache.org/jira/browse/CB-1176 as well

 Media plugin downloads media on main UI thread.
 ---

 Key: CB-5378
 URL: https://issues.apache.org/jira/browse/CB-5378
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Media
Affects Versions: 3.1.0
Reporter: Michal Mocny

 Reported on the mailing list by Nick Burka:
 I’ve been implementing a simple Media playback app. It looks something like:
 console.log(’start');
 mediaPlayer = new Media(
 uri_to_my_mp3_file,
 mediaSuccess,
 mediaError,
 mediaStatus);
 console.log(’end’);
 mediaPlayer.play();
 When the JavaScript executes, it takes 20+ seconds between the ‘start’ and 
 ‘end’ logs. Then when I seekTo() on the playing file, it’s virtually 
 instantaneous. I presume that the Media class is downloading the entire file 
 on instantiation?
 A few other people seem to have the same problem:
 http://stackoverflow.com/questions/19938383/phonegap-build-media-play-takes-a-long-time-to-start-playing
 http://community.phonegap.com/nitobi/topics/phone_gap_media_api_ios_slow_loading
 Any help would be much appreciated.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5378) Media plugin downloads media on main UI thread.

2013-11-13 Thread Michal Mocny (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13821722#comment-13821722
 ] 

Michal Mocny commented on CB-5378:
--

This was previously discovered when doing this: 
https://issues.apache.org/jira/browse/CB-4133

And has been a known issue for a while.

 Media plugin downloads media on main UI thread.
 ---

 Key: CB-5378
 URL: https://issues.apache.org/jira/browse/CB-5378
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Media
Affects Versions: 3.1.0
Reporter: Michal Mocny

 Reported on the mailing list by Nick Burka:
 I’ve been implementing a simple Media playback app. It looks something like:
 console.log(’start');
 mediaPlayer = new Media(
 uri_to_my_mp3_file,
 mediaSuccess,
 mediaError,
 mediaStatus);
 console.log(’end’);
 mediaPlayer.play();
 When the JavaScript executes, it takes 20+ seconds between the ‘start’ and 
 ‘end’ logs. Then when I seekTo() on the playing file, it’s virtually 
 instantaneous. I presume that the Media class is downloading the entire file 
 on instantiation?
 A few other people seem to have the same problem:
 http://stackoverflow.com/questions/19938383/phonegap-build-media-play-takes-a-long-time-to-start-playing
 http://community.phonegap.com/nitobi/topics/phone_gap_media_api_ios_slow_loading
 Any help would be much appreciated.



--
This message was sent by Atlassian JIRA
(v6.1#6144)