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
So i have express server running on ubuntu with pm2, i have follow sample usage with many cameras, let say i have 3 camera than i start server with pm2 start express.js, everythings work perfectly, but let say if one or two camera is shutdown and power on again i cant see stream that one or two camera until pm2 restart express. its also happen if i add 4th camera dynamically just change ws parameter right? but i still need to pm2 restart express for it works.
So i have express server running on ubuntu with pm2, i have follow sample usage with many cameras, let say i have 3 camera than i start server with pm2 start express.js, everythings work perfectly, but let say if one or two camera is shutdown and power on again i cant see stream that one or two camera until pm2 restart express. its also happen if i add 4th camera dynamically just change ws parameter right? but i still need to pm2 restart express for it works.
express code
then my frontend vue js
How i can handle this problem without pm2 restart express when :
this dynamic websocket /api/stream/:cameraIP not working before pm2 restart
thanks
The text was updated successfully, but these errors were encountered: