Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9DB719CD9 for ; Fri, 29 Apr 2016 06:30:13 +0000 (UTC) Received: (qmail 42776 invoked by uid 500); 29 Apr 2016 06:30:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 42742 invoked by uid 500); 29 Apr 2016 06:30:13 -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 42588 invoked by uid 99); 29 Apr 2016 06:30:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 06:30:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 579B32C1F60 for ; Fri, 29 Apr 2016 06:30:13 +0000 (UTC) Date: Fri, 29 Apr 2016 06:30:13 +0000 (UTC) From: =?utf-8?Q?Pablo_Gonz=C3=A1lez_=28JIRA=29?= To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-3353) No Media.MEDIA_STARTING status when using media player in iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-3353?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1526361= 6#comment-15263616 ]=20 Pablo Gonz=C3=A1lez commented on CB-3353: ------------------------------------ Hi I found the same issue using the plugin to play streaming in Android and iO= S. In Android I have this code: {code:javascript} my_media =3D new Media($scope.radios[index].url, null, mediaError, mediaSta= tus); var mediaStatus =3D function (status) { =20 if (status =3D=3D Media.MEDIA_STARTING) { $ionicLoading.show('Loading...'); } else { $ionicLoading.hide(); } =20 } {code} When the streaming start loading the message is shown. Once start playing t= he status changes and the message is hidden. Currently the same code does not work for iOS. I could not find any referen= ce to MEDIA_STARTING in CDVSound.m I would be nice to have the same functionality in iOS. Thanks in advance, Pablo > No Media.MEDIA_STARTING status when using media player in iOS > ------------------------------------------------------------- > > Key: CB-3353 > URL: https://issues.apache.org/jira/browse/CB-3353 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media > Affects Versions: 2.6.0, 2.7.0 > Environment: iPhone 5 running iOS version 6.1.3 and 6.1.2 > Reporter: Jeff Que > > After creating a media player object in iOS and calling play() method, th= e provided mediaStatus function never gets called with the status Media.MED= IA_STARTING. This differs from the Android functionality. > The issue is in class CDVSound, method "prepareToPlay:withId:" does not s= end a notification for MEDIA_STARTING -- 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