You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues with using yellowstone with my DVR. For some weird reason the RTSP server on my DVR tends to crash randomly which causes any active connection to drop dead (this can be easily simulated by just disconnecting your internet while the script is running and then waiting a couple of seconds). This causes this error when using it with yellowstone:
node:events:491
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v18.14.0
I have tried adding a catch after the connect call and also an event listener to the RTSPClient instance, but neither stopped the error from crashing the whole application. Any suggestion on how to prevent this?
Thanks
Enrico
The text was updated successfully, but these errors were encountered:
Hello,
I'm having issues with using yellowstone with my DVR. For some weird reason the RTSP server on my DVR tends to crash randomly which causes any active connection to drop dead (this can be easily simulated by just disconnecting your internet while the script is running and then waiting a couple of seconds). This causes this error when using it with yellowstone:
I have tried adding a
catch
after the connect call and also an event listener to theRTSPClient
instance, but neither stopped the error from crashing the whole application. Any suggestion on how to prevent this?Thanks
Enrico
The text was updated successfully, but these errors were encountered: