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

Dmitry Petrenko demask at mail.ru
Wed Dec 1 11:18:10 PST 2010


Hello Ross,

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

Is there any way to identify session URL in RTSPClient response handlers? These handlers receive pointer to RTSPClient object. Unfortunatelly, the related class member variable RTSPClient::fBaseURL and member function RTSPClient::sessionURL() are defined as private, meaning there is no way to access them in the response handlers at the moment. 

The same question regarding retrieval of RTSPClient::fUserAgentHeaderStr.

Why do I need this. I need a possibility to retrieve from RTSPClient object some key (a string or a number) that would be unique. Then I'm going to use this key in response handlers to access all other session-specific variables (like mediasession objects, file sinks, duration, etc) via the hash map. At the moment I have no other idea how to distinquish RTSP sessions in response handlers.

I would highly appreciate any advice on this matter.

Kind regards,
Dmitriy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101202/dd14926b/attachment.html>


More information about the live-devel mailing list