replace injected mediarecorder with factory contructed in onstart