cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo González (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-8293) Add support to MEDIA_STARTING status in iOS
Date Fri, 29 Apr 2016 06:30:13 GMT

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

Pablo González commented on CB-8293:
------------------------------------

Hi
I found the same issue using the plugin to play streaming in Android and iOS.

In Android I have this code:

{code:javascript}
my_media = new Media($scope.radios[index].url, null, mediaError, mediaStatus);

    var mediaStatus = function (status) {    
            if (status == Media.MEDIA_STARTING) {
                $ionicLoading.show('Loading...');
            } else {
                $ionicLoading.hide();
            }                       
    }
{code}
When the streaming start loading the message is shown. Once start playing the status changes
and the message is hidden.
Currently the same code does not work for iOS. I could not find any reference to MEDIA_STARTING
in CDVSound.m

I would be nice to have the same functionality in iOS.

Thanks in advance,
Pablo

> Add support to MEDIA_STARTING status in iOS
> -------------------------------------------
>
>                 Key: CB-8293
>                 URL: https://issues.apache.org/jira/browse/CB-8293
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>         Environment: iOS
>            Reporter: Cirillo
>            Priority: Minor
>
> Currently iOS do not report MEDIA_STARTING status



--
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


Mime
View raw message