Updated adapter.js

Fixed error for firefox.
Note: if try to modify audio output, but getUserMedia does not take sound, nothing will be shown