I'm using enterprise edition in cluster mode. I need to make changes in all apps to set:
settings.maxResolutionAccept=1080
tokenHashSecret=hash
settings.hashControlPublishEnabled=true
Every time antmedia restarts all three settings get reset to:
settings.maxResolutionAccept=0
tokenHashSecret=
settings.hashControlPublishEnabled=false
There is only one app that keeps these changes. And on that app when it was first created I made these changes before restarting antmedia. That's the only difference I can see. How can I make these changes stick?
FYI the same thing happens if I change a setting for an app in the admin area so I don't change anything there.
And I see this in the logs when I restart:
2021-02-24 11:25:23,346 [vert.x-eventloop-thread-3] INFO i.a.enterprise.cluster.TcpCluster - Update settings from cluster for app:APPNAME
2021-02-24 11:25:23,348 [vert.x-eventloop-thread-3] WARN i.a.AntMediaApplicationAdapter - app settings updated for APPNAME
So where is it updating from?