android - Radio stream issue -


hi have app in playstore has module play stream url, app works fine , make yearly release, making changes, part of radio not work, in device.

basically code is

mediaplayer = new mediaplayer();     try {         mediaplayer.setaudiostreamtype(audiomanager.stream_music);         mediaplayer.setdatasource("http://radio.promosat.com:8104/");         mediaplayer.setonpreparedlistener(new mediaplayer.onpreparedlistener() {             @override             public void onprepared(mediaplayer mp) {                 mp.start();             }         });         mediaplayer.prepareasync();     }catch (exception ex){         ex.printstacktrace();     } 

i keep getting error e/mediaplayer: error (1,-2147483648)

this worked perfectly, url use it's in example code, uses pls file, that's obtained stream url.

the error encoding of stream...aacp not supported in android.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -