Posts by Marco Gorak • 21 points
3 posts
-
0
votes1
answer93
viewsA: Mongooose Middleware to encrypt password in Schema
I managed to solve, in this case it was some error with the logic I was using, simplifying it for a simple if and a salt generated with bcrypt I managed to encrypt the password field.…
-
0
votes1
answer93
viewsQ: Mongooose Middleware to encrypt password in Schema
I’m having a hard time putting a Middleware in my Mongoose schema. I put it as save and am getting the error that it is not a function when I call it. See below both codes: schema.pre('save',…
-
2
votes1
answer1008
viewsQ: Video stream with Nodejs and Socket.io
I need help to stream with Nodejs and Socket.io. I’m using the rtsp-ffmpeg library to stream. I was able to execute it transmitting in img format according to the specific documentation itself, but…