Prevent changing of display name / Extend screenshare below filmstrip

Hey guys, I’m new here. Appreciate your time beforehand.

Firstly I’m wondering if we can prevent users being able to click on their Local Video to change the display name. I’m presetting the names beforehand, from an API, and don’t want these to be changeable. (A text cursor shouldn’t appear etc.)

Screenshot-20200415135653-198x98

Secondly, I’m not sure if this is a bug but screenshares don’t seem to be extending below filmstrips/local user video. This limits the screenshare, it doesn’t take up all the room. Has consequences for smaller displays and mobile.

Video from normal camera: Screenshot-20200415140122-467x709|329x500

Video from screen share: Screenshot-20200415140108-459x711|322x500

Thanks for your work on Jitsi

Try something like this :
setInterval(function(){
api.executeCommand(‘displayName’, userFullName);
},1000);

Surely there’s a better way than this hack?

If you use JWT you can set disableProfile to true in your config.js:

// Disables profile and the edit of all fields from the profile settings (display name and email)
disableProfile: true,

I did it using custom CSS value for display name.
Don’t remember offhand will let you know.