Tag : nodejs

https://www.npmjs.com/package/node-media-server mkdir nmscd nmsnpm install node-media-servernano app.js const NodeMediaServer = require(‘node-media-server’); const config = {rtmp: {port: 1935,chunk_size: 60000,gop_cache: true,ping: 30,ping_timeout: 60},http: {port: 8000,allow_origin: ‘*’}}; var nms = new NodeMediaServer(config)nms.run();   node app.js docker container docker pull illuspas/node-media-server docker run –name nms -d -p 1935:1935 -p 8000:8000 illuspas/node-me..

Read more

The installation of the node.js server will be done by node version manager. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash nvm install 14 (you can change to the version number of your choice) npm will be installed a..

Read more