[Live-devel] SRHandler/RRHandler

Ross Finlayson finlayson at live555.com
Mon Jul 24 17:38:46 PDT 2006


>Hi Everybody,
>
>I am trying to set the SR handler and RR handler functions in the main()
>i.e. testMPEG1or2VideoStreamer.cpp/testMPEG1or2VideoReceiver.cpp files. I am
>using the code like this:
>
>sessionState.rtcpInstance->setSRHandler(sessionState.rtcpInstance->addReport
>,buf);

No, the "handlerFunc" parameter must have the signature
	void TaskFunc(void* clientData)
In particular, it can't be a (non-static) class member function.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list