so there is actually still no solution ?
We have a new and modern platform which cannot stream mp3's or aac
from the net ?
Well I guess we didn't move that far from j2me at all, this is still a
very frustrating MediaPlayer class...


On 19 mei, 00:25, rooster 808 <rich.al...@gmail.com> wrote:
> here's a link to a file that has a correct header, but gives the
> PVMFailure error in the Media Player. Pretty frustrating. I find
> dozens of these a day that are valid files w/Android 2.1
>
> http://www.fileden.com/files/2009/11/2/2634160/Julian%20Shah-Tayler%2...
>
> tnks,
> rich
>
> On Mar 29, 8:35 am, dillirao malipeddi <dillir...@arijasoft.com>
> wrote:
>
>
>
> > Arijasoft developed android online radio SDK
>
> > using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams
> > on android
>
> > for more details look in 
> > tohttp://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php
>
> > <http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php>Thanks
>
> > On Tue, Feb 16, 2010 at 1:08 PM, Kamal Hasan <kamal.hasa...@gmail.com>wrote:
>
> > > Hi,
>
> > >  Any one has tried with HTTPS on media player
>
> > > I am getting "Command PLAYER_SET_DATA_SOURCE completed with an error
> > > or info PVMFErrNotSupported" Error.
>
> > > I am able to play the file on http but failed to play on HTTPS. Can
> > > you help me in this regard.
>
> > > Kamal
>
> > > On Feb 11, 10:42 pm, Steve <steveoliv...@gmail.com> wrote:
> > > > I can make this work on 1.6 with this linkhttp://
> > >www.colorado.edu/AmStudies/lewis/Design/blue.mp3
>
> > > > What is the url you are trying to connect to?
>
> > > > On Jan 29, 6:08 am, David <trend...@gmail.com> wrote:
>
> > > > > ps-I am using version 1.5 on a HTC phone
>
> > > > > On Jan 14, 9:48 pm, Tanmay <tanm...@gmail.com> wrote:
>
> > > > > > I tried doing this in 1.6 but still gave me the Prepare Failed 0x1
> > > > > > error along with thePVMFFailurein the log.
> > > > > > Has there been any solution to this one developed yet?
>
> > > > > > On Dec 14 2009, 10:13 pm, YaushiIizuka <vse5...@gmail.com> wrote:
>
> > > > > > > Hi.
>
> > > > > > > String url = "http://your.url";;
> > > > > > > MediaPlayer mp = new MediaPlayer();
> > > > > > > mp.setDataSource(url);
> > > > > > > mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
> > > > > > > mp.prepare();
> > > > > > > mp.start();
>
> > > > > > > On 10月23日, 午後3:28, dede <dede830...@126.com> wrote:
>
> > > > > > > > Hi,
> > > > > > > > In 1.6,I also try to play stream through setDataSource(http://
> > > > > > > > xxxxxxxxxxx/xxxx.mp3),
> > > > > > > > but also it return IOException: prepare failed, status=0x1.
> > > > > > > > If set the url into windowsmediaplayer, it can play correctly, I
> > > > > > > > wanna know your problem whether be resolved?
> > > > > > > > If yes, can u tell me the solution,thanks very much.
>
> > > > > > > > On 10月7日, 上午5时41分, iwhoyt <wallace...@hotmail.com> wrote:
>
> > > > > > > > > In 1.5 I was able to stream an mp3 over http by passing the 
> > > > > > > > > url
> > > to
> > > > > > > > > setDataSource(). However I started gettingPVMFFailures in 1.6.
> > > For
> > > > > > > > > me the issue was the Content-Type http header. If the header
> > > was set
> > > > > > > > > correctly (Content-Type: audio/mpeg), the stream played.
> > > Otherwise if
> > > > > > > > > failed during PLAYER_INIT.
>
> > > > > > > > > On Sep 2, 2:32 am, siliconeagle <rrmu...@gmail.com> wrote:
>
> > > > > > > > > > Also the URl is a http (MP3) stream URL - as opposed tioo
> > > other opost
> > > > > > > > > > where RTSP is being tried. It looks like it should just 
> > > > > > > > > > work.
> > > Has
> > > > > > > > > > anyone else got streaming working via a streaming URL?
>
> > > > > > > > > > On Sep 1, 1:24 pm, siliconeagle <rrmu...@gmail.com> wrote:
>
> > > > > > > > > > > I am trying to build streaming radio into my app, which
> > > works fines
> > > > > > > > > > > streaming files over the internet, but when i try to use a
> > > shoutcast
> > > > > > > > > > > url in get the error below, which from the soruce code
> > > looks liek the
> > > > > > > > > > > mediaPlayer is looking for the duration in the header. 
> > > > > > > > > > > Does
> > > anyone
> > > > > > > > > > > know if shoutcast urls will work withthe
> > > defaultmediaplayer? Or do i
> > > > > > > > > > > have to download chunks into a ping-pong buffer sor
> > > something? The url
> > > > > > > > > > > has no porblems downloading via the browser.
>
> > > > > > > > > > > the error is:-
>
> > > > > > > > > > > 09-01 11:53:25.634 E/MediaPlayer(16972): stop called in
> > > state 1
> > > > > > > > > > > 09-01 11:53:27.324 D/BatteryWidget(15623): Updating Views
> > > > > > > > > > > 09-01 11:53:30.445 E/PlayerDriver(   35): Command
> > > PLAYER_INIT
> > > > > > > > > > > completed with an error or infoPVMFFailure
> > > > > > > > > > > 09-01 11:53:30.445 E/MediaPlayer(16972): error (1, -1)
> > > > > > > > > > > 09-01 11:53:30.504 I/NotificationService(   55):
> > > enqueueToast
> > > > > > > > > > > pkg=net.robmunro.mypod
> > > callback=android.app.ITransientNotification$Stub
> > > > > > > > > > > $pr...@4323b8f8 duration=1000
> > > > > > > > > > > 09-01 11:53:30.514 W/System.err(16972):
> > > java.io.IOException: Prepare
> > > > > > > > > > > failed.: status=0x1
> > > > > > > > > > > 09-01 11:53:30.644 W/System.err(16972): at
> > > > > > > > > > > android.media.MediaPlayer.prepare(Native Method)
> > > > > > > > > > > 09-01 11:53:30.644 W/System.err(16972): at
> > > > > > > > > > > net.robmunro.mypod.util.MediaPlayerWrapper.playMedia
> > > > > > > > > > > (MediaPlayerWrapper.java:111)
>
> > > > > > > > > > > the code i use is:-
> > > > > > > > > > > try {
> > > > > > > > > > >         mPlayer.stop();
> > > > > > > > > > >         mPlayer.reset();} catch (Exception e) {
>
> > > > > > > > > > >         e.printStackTrace();}
>
> > > > > > > > > > > this.source=source;
> > > > > > > > > > > if (source.equals(Globals.SOURCE_LOCAL)) {
> > > > > > > > > > >          mPlayer.setDataSource(f.path);
> > > > > > > > > > >          buffered = 0;} else if
> > > (source.equals(Globals.SOURCE_STREAM)) {
>
> > > > > > > > > > >         mPlayer.setDataSource(f.remoteUrl);
> > > > > > > > > > >          buffered = 100;}
>
> > > > > > > > > > > mPlayer.prepare();
> > > > > > > > > > > mPlayer.start();- Hide quoted text -
>
> > > > - Show quoted text -
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Thank you,
> > Dilli Rao. Mwww.arijasoft.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to