On the subject of this thread I have submitted a bug report... For those interested you may want to star it or add any useful comments: http://code.google.com/p/android/issues/detail?id=8959&q=rtp&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
I hope we can get this resolved. I'm not really a skilled enough coder to fix this issue myself (in the C sources). But anybody who could help would be much appreciated. -- "The greatest challenge to any thinker is stating the problem in a way that will allow a solution" - Bertrand Russell Andy Savage Cell Phone: +852 936 34341 Skype ID: andy_savage Linked In: http://www.linkedin.com/in/andysavage On Wed, Jun 9, 2010 at 3:58 PM, Andy Savage <[email protected]> wrote: > You simply pass the RTSP url to MediaPlayer (although I think this > functionality was somewhat broken before 2.1 so I can't be certain that it > will work in 1.6-2.0). > > You can play it in the same way that you would play a file (but instead of > passing the file descriptor pass the URL as a string). > > -- > "The greatest challenge to any thinker is stating the problem in a way that > will allow a solution" > - Bertrand Russell > > Andy Savage > Cell Phone: +852 936 34341 > Skype ID: andy_savage > Linked In: http://www.linkedin.com/in/andysavage > > > On Mon, Jun 7, 2010 at 5:35 PM, Jez <[email protected]> wrote: > >> I'm confused by RTSP streaming - I've been trying to stream a LIVE >> video to Android (2.1) >> and not sure from the discussion here and previous posts that I've >> seen if Android can actually receive and play >> a LIVE video stream? I don't need any control of the video at all so >> just need to stream it. >> >> Jez >> >> >> On Jun 1, 2:30 am, Andy Savage <[email protected]> wrote: >> > In my example I am using SIP, so the SDP information is actually >> exchanged >> > this way. >> > >> > The RTSP is simply for receiving as a hack to Android's built in >> (arbitrary) >> > limitations. So the idea is to take the SDP for receiving and wrap it >> over >> > RTSP. >> > >> > -- >> > "The greatest challenge to any thinker is stating the problem in a way >> that >> > will allow a solution" >> > - Bertrand Russell >> > >> > Andy Savage >> > Cell Phone: +852 936 34341 >> > Skype ID: andy_savage >> > Linked In:http://www.linkedin.com/in/andysavage >> > >> > >> > >> > On Mon, May 31, 2010 at 9:26 AM, Ignas <[email protected]> >> wrote: >> > > There is a technical limitation to what SDP can legally convey. A >> > > single SDP document can contain only one end of media "conversation". >> > > Therefore it is technically impossible to setup streaming with just >> > > one SDP document there have to be an exchange. When using RTSP or SIP >> > > terminals exchange their SDP information and thus get to know where to >> > > stream to and from where to accept the stream. >> > >> > > MediaPlayer could accept just one SDP (i.e. streamer's), but then how >> > > would streamer would know where to transmit? Both of them have to >> > > exchange at least supported CODEC information and connection >> > > information (port and IP). >> > >> > > Maybe I am just not aware of SDP format with two node's information. >> > > Can someone share an example? >> > >> > > On May 27, 3:22 pm, debelyoo <[email protected]> wrote: >> > > > I agree with Andy's comment: >> > >> > > > On May 25, 8:36 am, Andy Savage <[email protected]> wrote: >> > >> > > > > There seems to be a limitation that means that it will only accept >> SDP >> > > > > information with RTP streams inside if it gets them from the RTSP >> > > stream >> > > > > (e.g. it gets this information from SETUP in the RTSP protocal). >> > >> > > > It is possible to play a stream by requesting it via a RTSP request >> > > > (both audio and video are sent over RTP and the MediaPlayer is able >> to >> > > > decode and play them). >> > > > But it is not possible to play live RTP stream by requesting the SDP >> > > > file directly (via an HTTP request). The RTP streams (audio and >> video) >> > > > are sent to the device from the server. The MediaPlayer should >> "just" >> > > > get the SDP file, listen on the proper ports and decode the streams. >> > > > But it generates an error and do not play the streams. >> > >> > > > Jean >> > >> > > -- >> > > 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]<android-developers%[email protected]> >> <android-developers%2bunsubsĀ[email protected]> >> > > For more options, visit this group at >> > >http://groups.google.com/group/android-developers?hl=en- Hide quoted >> text - >> > >> > - Show quoted text - >> >> -- >> 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]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- 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

