The socket.io documentation mentions that heartbeat can be turned off as follows:
io.disable('heartbeats');
Unfortunately, while this seems to stop sending audio signals, clients still disconnect when they do not send audio signals.
The following does not work either:
io.set('heartbeats', false);
I tried setting some intervals to 0 without success:
io.set('heartbeat timeout', 0); io.set('heartbeat interval', 0);
Any suggestions on what might turn off heartbeats correctly?
source share