An rtc.io plugin aware implementation of getUserMedia