[Live-devel] MediaSink::onSourceClosure

Ross Finlayson finlayson at live555.com
Wed Nov 2 19:11:11 PST 2005


>In MediaSink.cpp, I think that onSourceClosure method should cancel 
>any pending task as the stopPlaying method does.

I'm not sure about this.  I think it's better for the *source* object 
to take care of this - i.e., making sure that any pending tasks are 
unscheduled before "FramedSource::handleClosure()" gets called.  (The 
reason for this is that the source has more information than the sink 
about what task(s) - if any - need to be unscheduled.)



	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list