[Live-devel] RTSPClient::fBaseURL and RTSPClient::sessionURL()

Dmitry Petrenko demask at mail.ru
Thu Dec 2 11:58:17 PST 2010


Re: [Live-devel] RTSPClient::fBaseURL and RTSPClient::sessHi Ross,

Using separate RTSPClient objects - that's exacty I'm going to do. Ok, seems I have found a solution: RTSPClient class is derived from Medium class and there is Medium::name() available which returns unique value.

I have another question. Do I need to delete RTSPClient objects myself (as well as UsageEnvironment and TaskScheduler)? The openRTSP application does not show how to do this properly. The best way would be deleting them in after-"TEARDOWN" handler. But the problem is that this handler might be called from RTSPClient object, thus this is not a good option.

Kind regard,
Dmitriy
  ----- Original Message ----- 
  From: Ross Finlayson 
  To: LIVE555 Streaming Media - development & use 
  Sent: Thursday, December 02, 2010 1:38 AM
  Subject: Re: [Live-devel] RTSPClient::fBaseURL and RTSPClient::sessionURL()


    I'm trying to write RTSP client which will be able to read from multiple URLs simultaneously using the single event loop.


  Note that a single "RTSPClient" object is used for controlling *one* stream (i.e., one "rtsp://" URL) only.  Your RTSP client *application* can, of course, open and play multiple RTSP streams concurrently (using a single event loop), but to do so, you will need to create a separate "RTSPClient" object for each.
-- 

  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/20101203/5eef9710/attachment.html>


More information about the live-devel mailing list