I am aware of the watch variable method and the Medium::close(), but closing the ServerMediaSession, or the Subsession does not entail sending a BYE to the connected client - the only way I found till now to send a BYE is to do a handleClosure() from within my framer source when it detects a shutdown of the application. Ultimately, the problem here is that I want to ensure BYE is sent, and THEN liveMedia is shut-down (i.e, taskScheduler returns) and that this order is obeyed. Having the watchVariable is fantastic but currently I have no way to really ensure that my handleClosure() triggers the BYE and then the scheduler shuts down.
Jerry Johns Design Engineer Nuvation Research Corp - Canada Tel: (519) 746-2304 ext. 221 www.nuvation.com <http://www.nuvation.com/>
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel