Passed config.type to Recorder constructor since in MediaStreamRecorder the type can be used right away to change the mediastream