I noticed that I cannot play the file

rtsp://rtsp.youtube.com/youtube/videos/S2eoCqwBCQI/video.3gp

which you put in your source code

on my desktop browser. The Android MediaPlayer is very sensitive. If
the container format does not fit the one which is expected by the
mediaPlayer, you won't be able to stream.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Oct 13, 5:09 am, furby <[email protected]> wrote:
> I am sure that this has been discussed before... But I don't seem to
> be really grokking it...
>
> I have a videoview called "tv1" on a form.
> I have a bit of code that fires when a button is pressed that looks
> like this :
>                 String uristr = "rtsp://rtsp.youtube.com/youtube/
> videos/S2eoCqwBCQI/video.3gp";
>                 tv1.setVideoURI(Uri.parse(uristr));
>                 tv1.start();
>
> The emulator tells me that "This video cannot be displayed" and if I
> try it on my phone, the app just crashes...
>
> Does anyone know what I am doing wrong here?
--~--~---------~--~----~------------~-------~--~----~
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