Jitsi meet audio only configration + auto join

Hello, I wan to set up jitsi meet room, where users auto join the room (it will not ask to pick username and click join now) and want the room be audio only.

I was looking to config files and found couple properties which should make jitsi audio only (does not work for me), but I still see video button there. Here is my whole set up.

<!doctype html>
<html>
    <head>
<script src='https://meet.jit.si/external_api.js'></script>

<script>
function init(){

const domain = 'meet.jit.si';
const options = {
    roomName: 'JitsiMeetAPIExample',
    width: 700,
    height: 700,
        userInfo: {
        email: 'email@jitsiexamplemail.com',
        displayName: 'John Doe'
    },
    parentNode: document.querySelector('.meet'),
        configOverwrite: { startAudioOnly: true, TOOLBAR_BUTTONS: [], TOOLBAR_ALWAYS_VISIBLE: false },
        interfaceConfigOverwrite: { startAudioOnly: true, TOOLBAR_BUTTONS: [], TOOLBAR_ALWAYS_VISIBLE: false },
};
const api = new JitsiMeetExternalAPI(domain, options);
}

</script>
    </head>
    <body class="meet" onload='init()'>
    </body>
</html>

Can someone please tell me what option to make audio only option work? And if it is possible to auto join the room without waiting for users to click join?

In your config.js, you can set the property:

startAudioOnly: true,

I haven’t tried this so I’m not 100% sure, but I think disabling the pre-join page should accomplish this.