Hi, developers. I tried to play .mp3 media with rtsp protocol with MediaPlayer Class. It doesn't work.
My code fragment like below [======= code fragment =======] String strPath = "rtsp://{server_ip}:8554/sleepAway.mp3"; MediaPlayer mp = new MediaPlayer(); mp.setDataSource(strPath); mp.prepare(); mp.start(); [======= code fragment =======] My Streaming server is live555. Could you please tell me what kind of media format that can be played with rtsp protocol with MediaPlayer Class or what kind of codec that supported with rtsp protocol with MediaPlayer Class? Thanks. -- 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