add api to mute mic and mirror preview