node-rtsp-rtmp-server
node-rtsp-rtmp-server copied to clipboard
Error on connection, possibly latency issue?
Hi,
I'm having trouble with RTPS in particular, seems over a high latency connection (say, 100~ms between FFMPEG in the EU and the server in the US)
I was originally having an AAC error were the packet would be larger then the limit, but setting AAC to strict 2 in FFMPEG seems to have fixed that.
The current error is:
2020-09-23 02:38:19.337 [rtsp/http:client=c7] connected /root/node-rtsp-rtmp-server/server.coffee:46 throw err; ^
TypeError: Cannot read property 'videoData' of undefined
at RTSPServer.onInterleavedRTPPacketFromClient (/root/node-rtsp-rtmp-server/rtsp.coffee:803:59)
at RTSPServer.handleOnData (/root/node-rtsp-rtmp-server/rtsp.coffee:842:8)
at Socket.
This seems to happen when a new stream is published. It doesn't happen all the time but does happen frequently enough to be an issue.
Thanks in advance, ~Jazzy