Re: [android-developers] Re: RTP stream video decoding

2010-06-10 Thread Andy Savage
I don't have the answer for you sorry, but I do suggest you check out the Sipdroid source code. The source code is mostly a mess and the comments are non-existent but the audio works well (with very little delay). I would suggest get an idea of how they did it by looking at their code and comparin

[android-developers] Re: RTP stream video decoding

2010-06-09 Thread silentpartner
Hi everyone, Just a small question. Please tell me what is the a typical payload length in bytes of RTP packet containing voice data? I am sending RTP packets with raw PCM data using AudioRecord class, but the delay is very high at the receiver end !!! Best Regards On May 24, 8:44 am, Andy Sa

Re: [android-developers] Re: RTP stream video decoding

2010-05-25 Thread mike
On 05/24/2010 02:06 PM, savanevery wrote: How about writing the RTP stream to a file and playing it from there? On May 24, 2:44 am, Andy Savage wrote: Hi everyone, I need a little bit of help from some experts out there. Currently I am developing an application that will stream video us

Re: [android-developers] Re: RTP stream video decoding

2010-05-25 Thread Andy Savage
Jez, You might want to consider a pure RTSP implementation for what you want. That should work fine for one way streaming. Android (atleast in 2.1) handles this fine. I understand some functionality relating to this was a little broken in previous versions. -- "The greatest challenge to any thi

Re: [android-developers] Re: RTP stream video decoding

2010-05-25 Thread Andy Savage
Hi there, I am working through this in a private discussion with another very helpful user. Essentially it seems that at this stage the only way to get an RTP stream to work is a couple of hacks: A) Wrap it as an RTSP stream. Basically need a client/server architecture, perhaps another little ser

[android-developers] Re: RTP stream video decoding

2010-05-25 Thread Jez
Hi Andy, I have the same problem too - attempting to stream an axis encoded live video stream as h264 format and using the media player to show the video live on an Android phone. Now i'm not sure if this is possible? On May 25, 2:45 am, Andy Savage wrote: > Thanks for your suggestion. > > I h

Re: [android-developers] Re: RTP stream video decoding

2010-05-24 Thread Andy Savage
Thanks for your suggestion. I had considered this. The problem with this approach is that it seems that the MediaPlayer requires anything passed in as a FileDescriptor to be seekable (this is the same problem that prevents me from substituting FileDescriptor for LocalSocket). In this case this mea

[android-developers] Re: RTP stream video decoding

2010-05-24 Thread savanevery
How about writing the RTP stream to a file and playing it from there? On May 24, 2:44 am, Andy Savage wrote: > Hi everyone, > > I need a little bit of help from some experts out there. > > Currently I am developing an application that will stream video using RTP > and SIP. I have this mostly wor

[android-developers] Re: RTP stream video decoding

2010-05-24 Thread Andy Savage
A little bit of hunting around has found this threadin which somebody is trying to use a LocalSocket as a FileDescriptor passed to MediaPlayer. Unfortunately he doesn't get an answer. Does anybody have any working code