illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.89k stars 1.51k forks source link

this.nfs.stop is not a function #558

Open beyeshooter opened 1 year ago

beyeshooter commented 1 year ago

UnhandledPromiseRejectionWarning: TypeError: this.nfs.stop is not a function at NodeMediaServer.stop (/home/bouksou/Projects/node-rooms-recording-auto/node_modules/node-media-server/src/node_media_server.js:107:16) at StreamService.<anonymous> (/home/bouksou/Projects/node-rooms-recording-auto/src/services/stream.service.ts:165:25) at Generator.next (<anonymous>) at fulfilled (/home/bouksou/Projects/node-rooms-recording-auto/src/services/stream.service.ts:5:58) (node:31870) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

I got this when i added fission config and called stop function and when i checked code source it didn't found it, is this normal ?