Right now if replica that than has not requested current frame gets
deactivated and by that moment all other replicas received current
frame replicator never completes delivery to master replica (which it
should now) and whole delivery process gets stuck until some other
replica requests current frame.
---
liveMedia/StreamReplicator.cpp | 4 ++++
1 file changed, 4 insertions(+)
--
Stas Tsymbalov
TrueConf LLC
http://trueconf.com/
diff --git a/liveMedia/StreamReplicator.cpp b/liveMedia/StreamReplicator.cpp
index de7c79c..e910eff 100644
--- a/liveMedia/StreamReplicator.cpp
+++ b/liveMedia/StreamReplicator.cpp
@@ -185,6 +185,10 @@ void StreamReplicator::deactivateStreamReplica(StreamReplica* replicaBeingDeacti
}
}
}
+ // Now we have one active replica less and if master replica already received frame
+ // we should try to deliver it to the master replica
+ if (fMasterReplica != NULL && fInputSource != NULL && !fInputSource->isCurrentlyAwaitingData())
+ deliverReceivedFrame();
}
if (fNumActiveReplicas == 0 && fInputSource != NULL) fInputSource->stopGettingFrames(); // tell our source to stop too
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel