Hi Ross

I create the replicator with the false option to avoid it deletes the input
Source when removing all replicas.
StreamReplicator::createNew(*env, Source, false)

then create the source to feed it into the sink
FramedSource* source = replicator->createStreamReplica();

What would be the best way to remove a replica, knowing that we need to
create it again towards another port/address .

Using the
StreamReplicator::removeStreamReplica(*source) gives me an error because
source is FramedSource and it expects StreamReplica ... maybe I am missing
something

Or closing the medium source and sink (in the destructor)?
Thank you
Ricardo
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to