pass error object in getUserMedia to failure callback