Hi
I have difficulties with rtsp streaming in MediaPlayer.
The code is quite straightforward:
android.media.MediaPlayer player = new
android.media.MediaPlayer();
player.setDataSource("rtsp://stream.xxx.xxx.xxx/link.sdp");
//this
link is not alive, only for demo
player.prepare();
Prepare() throws an exception:
08-09 09:54:20.156: ERROR/PlayerDriver(35): Command PLAYER_PREPARE
completed with an error or info PVMFFailure
08-09 09:54:20.168: ERROR/MediaPlayer(396): error (1, -1)
08-09 09:54:20.198: WARN/System.err(396): java.io.IOException: Prepare
failed.: status=0x1
08-09 09:54:20.218: WARN/System.err(396): at
android.media.MediaPlayer.prepare(Native Method)
....
....
....
Has anybody else faced similar problems with MediaPlayer on android
1.5 (emulator and G1 developer's phone)?
btw: rtsp link works ok, cause I have tried it also from the web
browser in android, and it plays well.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---