[Live-devel] How can I modify the openRtsp to support multi rtsp ?

Johnnie Au-Yeung lanlamer at gmail.com
Thu Nov 24 22:41:40 PST 2011


Thanks for your reply and kindness guide!!

On Thu, Nov 24, 2011 at 9:56 PM, Ross Finlayson <finlayson at live555.com>wrote:

>        I was asked to modify the openRtsp to support multi different rtsp.
> I have build it and run normally on windows xp but have no idea how to
> modify the source code. I have surfed the office FAQ in the Live555.combut find nothing. Can anyone give me same suggestion?
>
>
> I presume that by "support multi different rtsp" you mean "support opening
> multiple "rtsp://" URLs concurrently".  You do this by creating separate
> "RTSPClient" objects for each "rtsp://" URL.
>
> You can use the existing "openRTSP" code (in "testProgs/playCommon.cpp"
> and "testProgs/openRTSP.cpp") as a model.
>
> Note, however, the "continueAfter...()" functions
> (in "testProgs/playCommon.cpp").  The first parameter to these functions is
> a "RTSPClient*".  In the current code, this first parameter is not used -
> because there is only one "RTSPClient" object, and it's a global variable.
>  In your code, however, you will need to use this first parameter; it will
> point to the particular "RTSPClient" object that the result was for.
>
>
> 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/20111125/0ecb6b0c/attachment.html>


More information about the live-devel mailing list