Git Product home page Git Product logo

farhang-sa / node-media-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.85 MB

a socket server for broadcasting media over socket & WebRTC p2p calling - سرور سوکت تماس نفر-به-نفر با وب آر تی سی و پخش رادیو و تی وی

JavaScript 99.64% CSS 0.13% SCSS 0.23%
audio audiocall broadcast camera p2p p2p-clients radio socket socket-io socket-programming socket-stream stream tv video videocall voice voicecall webcam webrtc

node-media-server's Introduction

Node Media Server

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.

Node Socket Server

  1. Online Radio & Tv
  2. WebRTC peer2peer Calls

requirements

  1. nodejs v18
  2. nodemon ( npm i -g nodemon )
  3. webpack ( npm i -g webpack )

installing

  1. clone git clone https://github.cpm/farhang-sa/node-media-server
  2. install npm install
  3. edit ./src/hostPort.js and put your own hostname & port
  4. build npm run build
  5. start npm start

node-media-server's People

Contributors

farhang-sa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.