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

Ingmar Erdös commented on CB-2808:
----------------------------------

Hey Joe,

sorry... had no time last days to write back. I use this snippet in my code:

$("#qmRadio_play").live('tap', function() {
    if(qmRadioStatus == 0){
      qmRadioSrc = 'http://qmradio.666kw.com/666kw-com_qmRadio.mp3';
        my_media = new Media(qmRadioSrc, 
        function(){
                $("#qmRadio_status").html("Streaming qmRadio");
        }, 
        function(err){
                $("#qmRadio_status").html("Error: "+err.message);
        },
        function(status){
            if(status == 0) $("#qmRadio_status").html(" ");
            if(status == 1) $("#qmRadio_status").html("Please wait... Stream is 
buffering.");
            if(status == 2) $("#qmRadio_status").html("Streaming qmRadio");
        });
            my_media.play();
            qmRadioStatus = 1
    }
});  

Hope that helps... Give me a hint how to solve it or when you think it will be 
solved.

Best regards,

Ingmar



Ingmar Erdös
----------------------------------------------------
EDV Consultant
Gassergasse 33 - 35, 1050 Wien
Tel: +43 676 84000 44 22
[email protected]
http://www.666kw.com
http://quad-handel.666kw.com
http://motorrad-handel.666kw.com


                
> AudioPlayer stops streaming of mp3 stream over http after 5 minutes
> -------------------------------------------------------------------
>
>                 Key: CB-2808
>                 URL: https://issues.apache.org/jira/browse/CB-2808
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.4.0, 2.5.0
>         Environment: Devel. System Win7, Devel. Devices (testet on) Android 
> 2.3.3 and 4.1.1
>            Reporter: Ingmar Erdös
>            Assignee: Joe Bowser
>              Labels: 2.4.0, 2.5.0, Audio, AudioPlayer, Media, Stream, mp3
>
> AudioPlayer (Media component) stops streaming of .mp3-stream over http uri 
> after 5 minutes.
> LogCat says:
> 03-25 12:05:28.708: I/Web Console(624): Pos=372.193 at 
> file:///android_asset/www/audio/index.html:114
> 03-25 12:05:29.044: D/AudioPlayer(624): on completion is calling stopped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to