> By examining the behavior of the replicas we were able to determine that our > FileSink replica was being deactivated while executing > StreamReplicator::deliverReceivedFrame(), because, when > FramedSource::afterGetting(replica), on line 259, was called, the write error > would occur again. Upon returning to StreamReplicator::deliverReceivedFrame(), > the fNumActiveReplicas would have been decreased an so, the condition > (fNumDeliveriesMadeSoFar == fNumActiveReplicas - 1 && fMasterReplica != NULL) > on > line 262 would never be met. > > We applied a fix to the StreamReplicator to decrease the > fNumDeliveriesMadeSoFar > variable if the replica being deactivated was also receiving a frame.
Ugh. I'm not thrilled by this hack, but right now I don't see a better solution, so I've gone ahead and included it in the latest release (2012.01.23) of the software. 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