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 <ignas.limanaus...@gmail.com> 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 <jean.ross...@gmail.com> wrote:
> > I agree with Andy's comment:
> >
> > On May 25, 8:36 am, Andy Savage <a...@bluewire.net.nz> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to