I'm pretty sure this still won't work in the 1.0 emulator. If you try
it and find otherwise, let me know.

I don't have a timeline for this to be fixed, but it definitely will
work on devices.

Cheers,
Justin
Android Team @ Google

On Sep 26, 12:14 am, wiki <[EMAIL PROTECTED]> wrote:
> Hey Justin!
> As we have got the 1.0SDK. will RTSP work on emulator now?
>
> Regards
>
> On Sep 25, 2:02 pm, Iroid <[EMAIL PROTECTED]> wrote:
>
> > I am trying to run aremoteprogressive downloadable mp4 file using
> > VideoView.
> > It is giving MediaPlayer error -1 and VideoView error -1.
> > I do not know what does it mean?
>
> > Could any one help please?
>
> > Thanks
>
> > On Sep 20, 9:36 am, Dan Walmsley <[EMAIL PROTECTED]> wrote:
>
> > > Any idea whenRTSPwill be fixed?
>
> > > Or, at least some form of MP3 streaming? Happy to retrieve directly
> > > via HTTP if necessary, but my app absolutely _requires_ live, ongoing
> > > mp3 streaming at a minimum. It's strange to me that it wouldn't work,
> > > given Android's out-of-the-box support for streamingvideoformats
> > > like 3GPP/MP4/etc directly.
>
> > > Don't make me rewrite it for iPhone ;-)
>
> > > Cheers,
> > > Dan
>
> > > On Aug 29, 4:58 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > I don't believeRTSPwill work in the emulator. The emulator currently
> > > > has some issues with handling UDP packets, whichRTSPuses. Sorry.
>
> > > > Regards,
> > > > Justin
> > > > Android Team @ Google
>
> > > > On Aug 28, 3:02 am, jayant <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi All,
>
> > > > > Can anyone post anrtsplink which works fine..
> > > > > gunaaa, can you please provide the external URL that was played..
>
> > > > > All I am doing here is setting the path variable in the API
> > > > > Demo(MediaPlayerDemo) example to different links
>
> > > > > But none seems to work...In the error log  I am getting following
> > > > > error:
> > > > > 08-28 15:08:59.894: ERROR/MediaPlayerDemo(749): error: Prepare
> > > > > failed.: status=0xFFFFFFFF
>
> > > > > Justin, can you plz explain this:
>
> > > > > code snippet:
>
> > > > > ***************************************************************************­**********************************
> > > > >  case STREAM_VIDEO:
> > > > >                     /*
> > > > >                      * TODO: Set path variable to progressive
> > > > > streamable mp4 or
> > > > >                      * 3gpp format URL. Http protocol should be used.
> > > > >                      * Mediaplayer can only play "progressive
> > > > > streamable
> > > > >                      * contents" which basically means: 1. the movie
> > > > > atom has to
> > > > >                      * precede all the media data atoms. 2. The clip
> > > > > has to be
> > > > >                      * reasonably interleaved.
> > > > >                      *
> > > > >                      */
>
> > > > >                     path = "rtsp://172.17.5.81:80/
> > > > > sample_h264_100kbit.mp4";
> > > > >                     if (path == "") {
> > > > >                         // Tell the user to provide a media file URL.
> > > > >                         Toast
> > > > >                                 .makeText(
> > > > >                                         MediaPlayerDemo_Video.this,
> > > > >                                         "Please edit
> > > > > MediaPlayerDemo_Video Activity,"
> > > > >                                                 + " and set the path
> > > > > variable to your media file URL.",
> > > > >                                         Toast.LENGTH_LONG).show();
>
> > > > >                     }
>
> > > > >                     break;
>
> > > > >             }
>
> > > > >             // Create a new media player and set the listeners
> > > > >             mMediaPlayer = new MediaPlayer();
> > > > >             mMediaPlayer.setDataSource(path);
> > > > >            // dialog.setMessage("set data source"+path);
> > > > >            // dialog.show();
> > > > >             mMediaPlayer.setDisplay(holder);
> > > > >             mMediaPlayer.prepare();
> > > > >             mMediaPlayer.setOnBufferingUpdateListener(this);
> > > > >             mMediaPlayer.setOnCompletionListener(this);
> > > > >             mMediaPlayer.setOnPreparedListener(this);
>
> > > > > mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
>
> > > > > ***************************************************************************­*******************************************
> > > > > On Aug 26, 12:01 pm, gunaaa <[EMAIL PROTECTED]> wrote:
>
> > > > > > Try Using Streams from any external URL... it will play your file...
> > > > > > Changing the format is time expensive...- 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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to