cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo González (JIRA) <>
Subject [jira] [Commented] (CB-3353) No Media.MEDIA_STARTING status when using media player in iOS
Date Fri, 29 Apr 2016 06:30:13 GMT


Pablo González commented on CB-3353:

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

In Android I have this code:

my_media = new Media($scope.radios[index].url, null, mediaError, mediaStatus);

    var mediaStatus = function (status) {    
            if (status == Media.MEDIA_STARTING) {
            } else {
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,

> No Media.MEDIA_STARTING status when using media player in iOS
> -------------------------------------------------------------
>                 Key: CB-3353
>                 URL:
>             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, the provided mediaStatus
function never gets called with the status Media.MEDIA_STARTING. This differs from the Android
> The issue is in class CDVSound, method "prepareToPlay:withId:" does not send a notification

This message was sent by Atlassian JIRA

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

View raw message