Display Name on Iframe

Hello,

For security reason, we want to hide the display name, during the live conference. Our plan is that the moderator should handle that situation. Before going to the moderator, we want to ensure that the iframe code has to work for the display name. I try to overwrite the code in the iframe which can set display name true or false.

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

<body>
<div id="meeting"></div>

</body>
<script>
const options = {
    parentNode: document.querySelector('#meeting'),
    roomName: 'Bay_Area_Older_Adults',
    width: 700,
    height: 700,
    requireDisplayName: true,
    displayName: true,
}

meetAPI = new JitsiMeetExternalAPI("[meet.jit.si](http://meet.jit.si/)", options);

</script>
</html>

Streaming is working for us, but
requireDisplayName: true,
displayName: true,
parameters are doing nothing even if we change it to false or true, it remains the same.

Please guide us on how should we first hide the displayName from the code.

You need to pass configOverwrite: { requireDisplayName: true },