Hi Sergio (and everyone else!),
I've started experimenting with medooze-rtmp-server and audio-codecs-node recently alongside medooze-media-server and have run into a few pain points around the build process and making sure they're all compatible with each other.
The obvious low hanging fruit is that medooze-rtmp-server currently can't be built as it's gyp file is missing files now required inside media-server, and this got me thinking about the build process and how the core media-server library is currently consumed in the various NodeJS wrapping modules.
It isn't remotely ready to build medooze-media-server again yet, but I've started some experiments to add a gyp file for media-server and consume it as a dependency inside media-server-node directly. This seems to be quite promising from a deduplication and single-source-of-truth point of view, and it looks like it should be quite easy to optionally consume it as a shared library, which might be nicer when using multiple node modules. As part of this I've also moved libsrtp and libmp4v into media-server, which seems to generally make more sense.
Please take a look and share any feedback you might have! I'd be interested in driving this to completion but only if it's of interest to merge upstream. I think a less node-focused build system would be nice in media-server to replace the slight soup of different build configurations that are currently there (maybe CMake or Meson), but those are a bit harder to use from a node POV (although there is cmake-js that works very well) and that seems the be the most common external consumer of the media-server native code currently.
Best regards,