For more information see the MediaStream Recording API Editor's Draft.
Echo cancellation:
Real-time audio: