I am trying to adapt vlc to the live555 asynchronous API
That's great - thanks!
, and I have a
question.
Callbacks functions declaration is :
typedef void (responseHandler)(RTSPClient* rtspClient, int resultCode,
char* resultString);
But how can I access my application data in this callback.
Why the callback paramater does not have a void* user data parameter,
like in (afterGettingFunc) for example ?
This question came up back in June, shortly after the new interface
was introduced. This was my answer then:
http://lists.live555.com/pipermail/live-devel/2010-June/012223.html
Do you plan to have more than one "RTSPClient" object concurrently?
If not, then you can just use a global variable. But if you do plan
to have more than one "RTSPClient" object concurrently, then you can
define a subclass, and add your 'application data' there.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel