Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 220E7200B58 for ; Tue, 12 Jul 2016 14:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F24A160A56; Tue, 12 Jul 2016 12:39:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E3AD160A6A for ; Tue, 12 Jul 2016 14:39:21 +0200 (CEST) Received: (qmail 2313 invoked by uid 500); 12 Jul 2016 12:39:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 2287 invoked by uid 99); 12 Jul 2016 12:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 12:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6D5322C02A2 for ; Tue, 12 Jul 2016 12:39:20 +0000 (UTC) Date: Tue, 12 Jul 2016 12:39:20 +0000 (UTC) From: "Vladimir Kotikov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: 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) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Jul 2016 12:39:22 -0000 [ https://issues.apache.org/jira/browse/CB-11544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372810#comment-15372810 ] Vladimir Kotikov commented on CB-11544: --------------------------------------- [~toufic_zayed@radiolike.com], 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: 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 > > 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org