fix webRTC, refactor DND and whiteboard state