[Live-devel] why live555 as local RTSP server streaming TS file (like a bridge) at android won't work?
He Lion
exherb at 4leaf.me
Sun Jul 3 23:03:57 PDT 2011
Thanks for your answer.
Why I did that?
Because after set up a RTSP server working like a bridge at android, I just
need to demux TS, then add video or audio streams to RTSP stream, I don't
have to write a JNI media player (very difficult) to display and control
every frames.
I would like to ask another question.
How could I demux TS to RTSP or other stream which could be supported by
"Android Media Player" ? Is there a sample code to help me do that?
2011/7/4 Ross Finlayson <finlayson at live555.com>
> **
>
> 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 "
> http://127.0.0.1:8554/test.sdp"(something like that).
>
>
> 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).
>
>
> Could someone tell me why this happened?
>
>
> If "Android's media player" can't play a Transport Stream from a local
> file, then why do you think that it would be able to play a Transport Stream
> via RTSP/RTP? It probably can't play a Transport Stream, regardless of how
> it's delivered.
> **
>
> --
>
> **
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110704/145bd51c/attachment.html>
More information about the live-devel
mailing list