There is a small bug in _receiveData method of client.js
Original line:
if (buffer.length < baBvlc.BVLC_HEADER_LENGTH) return debug('Received invalid data -> Drop package');
The constant BVLC_HEADER_LENGTH is in baEnum, not baBvlc
Should be:
if (buffer.length < baEnum.BVLC_HEADER_LENGTH) return debug('Received invalid data -> Drop package');
There is a small bug in
_receiveDatamethod ofclient.jsOriginal line:
The constant
BVLC_HEADER_LENGTHis inbaEnum, notbaBvlcShould be: