Hello, I compiled the whole code with the "-pg" profiling option. Now, i wonder which part of the code to modify so that "testOnDemandRTSPServer" returns (i.e. exits) as soon as it receives a "teardown" request. Thank you, ---mathieu minard