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
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to