-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event Handling Broken in v4.x (nms.on() Undefined) #660
Comments
#658 - Please check out this issue. |
hi did they remove the support for transcoding using ffmpeg |
Oh I see, thanks for the info |
1 similar comment
Oh I see, thanks for the info |
In Node-Media-Server v4.0.7, event handling seems to be broken. In previous versions (e.g., v2.7.4), I was able to use:
In v4.0.7, nms.on() seems to not exist.
This results in:
TypeError: NMS.on is not a function
However, when I downgraded to v2.7.4, everything worked correctly.
To reproduce:
Install v4.0.7:
npm install [email protected]
Try registering an event:
TypeError: nms.on is not a function
Expected Behavior
nms.on() should exist and work as expected.
Actual Behavior
nms.on() seems to not exist in v4.
Downgrading to [email protected] restores normal behavior.
Environment
Node.js Version: v20.17.0
node-media-server Version: 4.0.7
OS: Windows 10 Pro 22H2 (Build: 19045.5371)
The text was updated successfully, but these errors were encountered: