[ 
https://issues.apache.org/jira/browse/CB-11544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-11544:
----------------------------------
    Labels: triaged wfc  (was: triaged)

> Unable to stream audio file in iOS 9.3.2 on iPhone 6 while in background 
> (working in iPhone 5)
> ----------------------------------------------------------------------------------------------
>
>                 Key: CB-11544
>                 URL: https://issues.apache.org/jira/browse/CB-11544
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: 2.3.0
>         Environment: iOS 9.3.2 on iPhone 6
>            Reporter: Toufic Zayed
>              Labels: triaged, wfc
>
> Hello,
> I'm working on a Ionic application that's supposed to play a playlist of 
> media  in background mode.
> The playlist is composed of mp3 files accessible on the internet (streaming).
> Everything works fine on Android and event iPhone5 (iOS 9.3.2)
> I only have a problem in iPhone 6 (iOS 9.3.2).
> In iPhone 6, if I start my playlist while the application is in foreground, I 
> can hear the audio. When I put the application in background (home button) I 
> can continue to hear the same audio.
> The problem appears at the end of the current audio, when I need to start the 
> next audio. There is no sound at all.
> While checking the messages in XCode, I can see:
> "Unable to play audio (null)"
> This is logged in the line 339 of the file CDVSound.m
> My understanding is that we are failing to acquire an audio session, hence 
> the message.
> I don't know exactly why it happens only in iPhone 6.
> Just for additional information, in my Ionic code, before I try to stream the 
> new mp3 file, I first stop and release the current one (that is finished).
> Thanks for your help.
> Regards
> TZ



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

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

Reply via email to