Skip to content

USAMAWIZARD/webrtc-from-scratch

Repository files navigation

** still under development

TODO List

  • Signal passing for callbacks
  • make it browser compatible
  • add basic security checks
  • refactor encryption and decryption logic
  • SRTP DTLS decryption ( IN PROGRESS)
  • Implement state changes for ICE, DTLS, and WebRTC
  • refactor implementation
  • Complete DTLS finish message verification
  • Threading

** This project tries to implement a very minamal webrtc implementation without considering much about to learn and understand in depth how WebRTC works

It will make a WebRTC connection from another peer and send a stream in the simplest way possible

Screencast.2024-10-24.02.03.39.mp4

WebRTC Streaming from Scrach implementtion to Gstreamer Client

sending a basic video from webrtc scrach implementation to a Gstreamer WebRTC Client.

Build the Program

  1. git clone https://github.com/USAMAWIZARD/webrtc-from-scrach.git
  2. Run the following command to build the program:

Build Scrach WebRTC implementation

make

Build Gstreamer Client WebRTC

cd GstreamerClient
make 

Start Signalling Server

cd SignallingServer/
npm i 
npm start 

Start Scrach implementation (sender)

./webrtc

Start Gstreamer Client (receiver)

Once the receiver is started, run your program with the following command:

cd ./GstreamerClient
./webrtc_recv

now WebRTC Scrach implementation Will send a video to Gstreamer Client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages