Because android's media player can't play TS file (1.5 - 2.2), so in oder to play "/sdcard/test.ts", I set up a local RTSP server using live555 at android, then set the data source of android media player as "<a href="http://127.0.0.1:8554/test.sdp">http://127.0.0.1:8554/test.sdp</a>"(something like that). <br>
<div><br></div><div>The rtsp server at android actually started correctly, and I can play the ts stream using VLC player at Mac Desktop (using emulator's redir). But android media play just can't play normally with error code (1, -1). </div>
<div><br></div><div>Could someone tell me why this happened? And sorry for my poor english.</div>