record web

Web specific implementation for record package called by record_platform_interface.

When sample rate is not supported natively, the package resamples the buffers in audio thread.