Have a sender/pubisher application sending message in multicast channel, and there is another instance Archive recording this message (using startRecording() call)
However, after restart the sender/publisher application. The Archive closed the original recording and recreate a new recording for the same channel automatic.
How to keep the same recording even sender restared? because that recording is used for recovery, with multiple recordings for the same stream make it more complicate to implement.
tried to set autoclose to false in startRecording but doesn't help
[update 2/7/2023] Actually the idea is, we want to have a sender, multiple archive(s) running on multiple server as capture sent message for backup and recovery purpose.
As I understand original sample program only illustrate how capturing side (archive) restart, and using "extendRecording" to keep same recording. But not when capturing side is running, only sender program is restart.
thanks.