[Live-devel] decoupling MediaSubSession from RTP stack

David Cassany Viladomat david.cassany at i2cat.net
Thu Jan 30 23:42:49 PST 2014


Hi Ross,

Thank you ver much for your quick and concrete response. We will
definitelycheck this!

Regards,
David


2014-01-30 Ross Finlayson <finlayson at live555.com>:

> First of all I would like to program an RTSPClient that only handles RTSP
> session, just the sesion negotiation and session keep alive. In our
> application we are already capable to manage incomping RTP flows, we just
> need an RTSP manager to interact with our RTP manager. On server side we
> already successfully achieved it implementing our ServerMediaSubsession
> class. We would like to achieve the same on the client side.
>
>
> Yes, you can do this.  I suggest looking at how our "openRTSP" client
> application implements the "-r" option, which tells the command to start
> playing the stream (using RTSP), but not actually receive it.  See
>  http://www.live555.com/openRTSP/#no-receive
>
> You should be able to use "openRTSP" (with the "-r" option, and also "-p
> <port-number>", if the stream is unicast) to demonstrate streaming to your
> application using RTSP only, not RTP/RTCP.
>
> The secret is to *not* call "initiate()" on each of your "MediaSubsession"
> objects; that function is (normally) used to create "RTPSource" and
> "RTCPInstance" objects for receiving the RTP/RTCP packets.
>
> And obviously, you won't want to create any "MediaSink" objects (e.g.,
> "DummySink" in the "testRTSPClient" code), and not call "startPlaying()".
>
>
> 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/20140131/e9a25fd2/attachment.html>


More information about the live-devel mailing list