streamproc/MediaStreamRecorder — pull request #19 by kevin-frugier (2014-11-03 07:54:14+00:00)
Title: Fixed MediaStreamRecorder audio bug

In MediaStreamRecorder there is a (not so) dirty hack to record audio when the stream contains both video and audio (otherwise video/webm blobs are recorded).
The hack uses this.type which is not yet set (the propertiesMerge is only done after construction).
As a workaround I passed config.type to Recorder constructor since in MediaStreamRecorder the type can be used right away to change the mediastream.