I have two cameras configured and it appears the RTSP port isn't listening on the specific IP address of the camera and instead on *:8554. If I define discrete ports for each camera it works.
11:15:11.230 ERROR NET_SCAN: No interface with MAC 1a:11:b0:b5:fd:d1
11:15:11.230 INFO NET_CONF: ADD - rtsp2onvif_0 MAC: 1A:11:B0:B5:FD:D1
11:15:11.232 DEBUG {"type":"Buffer","data":[]}
11:15:11.232 INFO NET_CONF: DHCP - rtsp2onvif_0
11:15:11.365 DEBUG {"type":"Buffer","data":[]}
11:15:11.365 ERROR NET_SCAN: No interface with MAC 1a:11:b0:f7:f5:93
11:15:11.365 INFO NET_CONF: ADD - rtsp2onvif_1 MAC: 1A:11:B0:F7:F5:93
11:15:11.366 DEBUG {"type":"Buffer","data":[]}
11:15:11.366 INFO NET_CONF: DHCP - rtsp2onvif_1
11:15:12.512 DEBUG {"type":"Buffer","data":[]}
11:15:12.513 DEBUG NET_SCAN: Found 10.2.3.55 on rtsp2onvif_0 for MAC 1a:11:b0:b5:fd:d1
11:15:12.513 INFO
11:15:12.513 INFO SERVER: Kitchen - HTTP listening on 10.2.3.55:80
11:15:12.515 DEBUG NET_SCAN: Found 10.2.3.64 on rtsp2onvif_1 for MAC 1a:11:b0:f7:f5:93
11:15:12.515 INFO
11:15:12.515 INFO SERVER: FryCam - HTTP listening on 10.2.3.64:80
11:15:12.515 INFO PROXY: 8554 --> 10.2.4.59:554
11:15:12.515 INFO PROXY: 8554 --> 10.2.4.60:554
node:events:496
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::8554
at Server.setupListenHandle [as _listen2] (node:net:1907:16)
at listenInCluster (node:net:1964:12)
at Server.listen (node:net:2066:7)
at TcpProxy.createListener (/app/node_modules/node-tcp-proxy/tcp-proxy.js:81:17)
at new TcpProxy (/app/node_modules/node-tcp-proxy/tcp-proxy.js:56:10)
at module.exports.createProxy (/app/node_modules/node-tcp-proxy/tcp-proxy.js:8:12)
at Object.<anonymous> (/app/main.js:58:22)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Object..js (node:internal/modules/cjs/loader:1689:10)
at Module.load (node:internal/modules/cjs/loader:1318:32)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1943:8)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 8554
}
Node.js v22.11.0
I have two cameras configured and it appears the RTSP port isn't listening on the specific IP address of the camera and instead on *:8554. If I define discrete ports for each camera it works.