I am in a need to control dynamically if a new ingress stream will be appended to the last recorder store, or create a new version store.
I can control from the encoder when and to what url I publish the stream.
I know I can control the APPEND or VERSION in the application.xml, but that will be the behavior for all published streams.
Ideally, I could publish to something like rtmp://[server]/dvr/stream1?type=version or rtmp://[server]/dvr/stream1?type=append, and the server will know if to append or create new version.
An alternative would be to change the archive strategy from the API, from some http command. In that case, I could call the command on the server before publishing the stream.
Is this possible?