Skip to content

Simple live streaming web application. you can streaming and watch as consumer. This Web App using WebRTC for media real-time communication, and Socket.io for signaling

Notifications You must be signed in to change notification settings

Mamena2020/WebRTCBroadCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTCBroadCast

Simple live streaming web application. you can streaming and watch as consumer. This Web App using WebRTC for media real-time communication, and Socket.io for signaling, also SFU architecture which features the following data transmission processes between the media server and the endpoints (client).

  • Features

    • Multiple Streaming
    • Watch a Streaming
  • WebRTC (SFU architecture)

  • Clone this repo.

    • npm update
  • Secure ip local

    • for custom ip local (server.js host) other than localhost, then you have to set your local ip (http) as (https). because WebRTC won't work if ip is not secure (http). to secure local ip. open this link on your chrome
      • chrome://flags/#unsafely-treat-insecure-origin-as-secure
      • and paste your ip address
  • Config

    • set your host & port
      • host & port
        • public/config.js
        • server.js
          const host = "localhost";
          const port = "3000"
        
  • Start server

    • node server or nodemon server
  • Run.

  • Monitoring WebRTC Status on browser

    • chrome://webrtc-internals/
  • Stunt Servers

    • "stun:stun.l.google.com:19302"
    • "stun:stun.stunprotocol.org"

References

About

Simple live streaming web application. you can streaming and watch as consumer. This Web App using WebRTC for media real-time communication, and Socket.io for signaling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published