add getMediaDevices support #80