[Live-devel] OnDemandServerMediaSubsession with reusing issues

Ross Finlayson finlayson at live555.com
Sat Mar 24 00:58:49 PDT 2007


>I have found a simple way to solve my problems. It is enough just to
>extend OnDemandServerMediaSubsession with a new virtual function:
>
>virtual void closeStreamSource(FramedSource *inputSource) {
>    Medium::close(inputSource);
>}
>
>and call this function in OnDemandServerMediaSubsession.cpp whenever
>the current code calls Medium::close on the result of
>createNewStreamSource.
>
>The attached patch does just that.

Thanks.  This will be included in the next release of the software.
-- 

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


More information about the live-devel mailing list