A little refactoring in webRTCService