mute local stream
code improvement