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

Paulo Cristo commented on CB-14215:
-----------------------------------

A pull request with the fix has been submitted on the official GitHub repo:

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

> Playing/Alternating between remote URLs and local files can lead to using 
> wrong player (IOS), and we hear no sound!
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-14215
>                 URL: https://issues.apache.org/jira/browse/CB-14215
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>    Affects Versions: Master
>         Environment: Happens on all IOS version of the plugin, it affects 
> current master version and previous versions. A pull request with the fix 
> will be submitted relating to this bug 
>            Reporter: Paulo Cristo
>            Priority: Critical
>              Labels: iOS
>             Fix For: Master
>
>
> Alternating between remote media files (http or https) and local ones (file 
> or cdvfile) can lead to no sound output. This affects at least all the IOS 
> versions of the plugin
> This happens because different players are used to play either network 
> streams or local files (AVPlayer or CDVAudioPlayer
> HOWTO reproduce: Play first a  remote URL (ex: http:// or https://) and 
> afterwards a local file (ex: file:// or cdvfile://)
> Expected Result: Both sounds should play
> Actual Result: The first sound plays but not the second one, because the 
> plugin tries to play it wrongly with the same player as the first one



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to