Hi Ross <br><br>I create the replicator with the false option to avoid it deletes the input Source when removing all replicas. <br>StreamReplicator::createNew(*env, Source, false) <br><br>then create the source to feed it into the sink<br>
FramedSource* source = replicator->createStreamReplica();<br><br>What would be the best way to remove a replica, knowing that we need to create it again towards another port/address .<br><br>Using the <br>StreamReplicator::removeStreamReplica(*source) gives me an error because source is FramedSource and it expects StreamReplica ... maybe I am missing something<br>
<br>Or closing the medium source and sink (in the destructor)?<br>Thank you <br>Ricardo <br><br>