How to hide self view programatically

How can I hide self view from the participant video list. Also, is there any way to hide the active video participant name from the bottom left along with connection status?

This is for electron app.