*Hi Everyone,* This problem is *really* bugging me. It's a lot bigger than a few of us not being able to receive RTP.
It's the fact that Android currently *does not support incoming real time streaming*! This is a *huge* problem for a new platform that wants to really become the device people buy. Real time video streaming is a huge industry... what a big oversight??!! I've posted a bug report<http://code.google.com/p/android/issues/detail?id=8959&q=rtp&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars> but I don't expect it to get fixed anytime soon as nobody has posted any comments or even starred it. However, there is an upside many people say that the beauty about open-source is that you can fix it yourself. Sadly I'm not a C-coder and would spend months just learning it. So, is anybody able to help me with the required patches to OpenCore? I am sure for somebody with some experience then it shouldn't be a big deal (I see that RTP is supported using RTSP so to pass in a native RTP stream or to support SDP's from SIP shouldn't be too hard I guess). In the meantime I have been working to overcome this problem, I've attempted a solution running FFMpeg & FFServer on the phone itself to stream out RTSP (no transcoding just streaming). My plan was to use this to stream to the video to the local MediaPlayer... Unfortunately the RTSP playing code is very picky on Android. It wouldn't play the stream. However I have successfully gotten VLC to play the stream from the phone (although this doesn't help me so much), so I know it works. I'm a bit stuck on what to try next! Any ideas would be appreciated. Kind regards, Andy Savage -- "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 Thu, Jun 17, 2010 at 3:21 PM, Jez <[email protected]> wrote: > Thanks, > > I'll give this a try on the 2.1 (Desire) and see if it'll work - as > I'm slightly suspiscious that > it may have problems with TRUE live video (aka from an encoder) but > will post here with what I find. > > > Hoping always > > > On Jun 9, 9:00 am, Andy Savage <[email protected]> wrote: > > 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=... > > > > 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]> > > >> <android-developers%2bunsubsĀ[email protected]> > > >> > > For more options, visit this group at > > >> > >http://groups.google.com/group/android-developers?hl=en-Hidequoted > > >> 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]> > <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

