this app is a demonstration of broadcasting media over socket & WebRTC p2p calling.
running build will generate two files ./dist/server.js and ./dist/scripts/app.bundle.js and you can simply run node ./dist/server.js
to start.
note : in radio and tv , you must listen to a channel in another device/browser then start hosting in primary.
- Online Radio & Tv
- WebRTC peer2peer Calls
- nodejs v18
- nodemon (
npm i -g nodemon
) - webpack (
npm i -g webpack
)
- clone
git clone https://github.cpm/farhang-sa/node-media-server
- install
npm install
- edit
./src/hostPort.js
and put your own hostname & port - build
npm run build
- start
npm start