Rather than modifying the supplied library code - which is unlikely to get you any support on this mailing list - why not instead keep the code 'as is', but instead use a separate "QuickTimeFileSink" object for each segment of the stream.
I.e., every 30 seconds do: Medium::close(mySinkObject); mySinkObject = QuickTimeFileSink::createNew( ... ); mySinkObject->startPlaying(theSameSourceAsBefore, ... ); Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel