startWithAudioMuted and startWithVideoMuted not as expected from config
Description:
Since commit 9c10ac3028548c3e8535d35789b23492b194e9fd startWithAudioMuted and startWithVideoMuted could come from the local storage if the user had a previous setting. I would expect it to always come from config.startWithAudioMuted and config.startWithVideoMuted like it was before.
Steps to reproduce:
- set config.startWithAudioMuted to true in config.js
- join a session
- enable Audio
- leave and join session again
Expected behavior:
config.startWithAudioMuted and config.startWithVideoMuted control the mute setting when a conference is started
Actual behavior:
Setting from local storage is taken into account.
Server information:
Latest git on metal Ubuntu 20.04
Client information:
any
Additional information:
I understand the reasons to take old user settings into account, but could this be done with a additional setting? Something like config.startWithAudioMutedFromStore? If enabled the default could be config.startWithAudioMuted and if the user has a setting in local sorage this could be taken into account? For me the current state creates a privacy issue.
Source: jitsi/jitsi-meet