[Live-devel] Proper destruction of subsessions

Jerry Johns Jerry.Johns at nuvation.com
Thu Jul 16 12:49:02 PDT 2009


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/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090716/329b9b28/attachment.html>


More information about the live-devel mailing list