When camera.stop() is called and the connection is aborted then keepalive is called by this line:
this.connection.on('error', this.keepalive.bind(this));
and so when stop() is called again in keepalive() it tries to abort the connection that has already been aborted and set to null
resulting in error: TypeError: Cannot read properties of null (reading 'abort')
When camera.stop() is called and the connection is aborted then keepalive is called by this line:
this.connection.on('error', this.keepalive.bind(this));
and so when stop() is called again inkeepalive()
it tries to abort the connection that has already been aborted and set tonull
resulting in error:TypeError: Cannot read properties of null (reading 'abort')
Using Node v16.14.2