cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <>
Subject [jira] [Commented] (CB-11544) Unable to stream audio file in iOS 9.3.2 on iPhone 6 while in background (working in iPhone 5)
Date Tue, 12 Jul 2016 12:39:20 GMT


Vladimir Kotikov commented on CB-11544:

[], thank you for reporting. Could you please post relevant snippets
of code,responsible for start playing and switching to the next track?

> Unable to stream audio file in iOS 9.3.2 on iPhone 6 while in background (working in
iPhone 5)
> ----------------------------------------------------------------------------------------------
>                 Key: CB-11544
>                 URL:
>             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
> Hello,
> I'm working on a Ionic application that's supposed to play a playlist of media  in background
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message