0.0.25 • Published 2 years ago

@waynecodez/wrtc-stream v0.0.25

Weekly downloads
-
License
https://github.co...
Repository
-
Last release
2 years ago

WebRTC Stream (Doc WIP)

What is this?

This repository was created to simplify the implementation of WebRTC (Web Real-Time Communication). WebRTC is a powerful technology that enables real-time audio, video, and data communication directly between web browsers or other compatible devices. However, implementing WebRTC can be challenging due to its complex nature.

Providing a module that serves as an abstraction layer, effectively shields developers from the intricacies and difficulties associated with implementing WebRTC. By leveraging this package, developers can focus on the core functionality of their applications without having to delve deeply into the low-level details of WebRTC.

What are the requirements?

  1. Node.js and npm installed
  2. Installation of npm packages:
    1. socket.io (server)
    2. socket.io-client (client)
  3. Development environment:
    1. Backend server with socket.io connection
    2. Frontend client with socket.io-client connection

Connection Flow

  1. Host: creates / joins room
  2. ...

Signaling

  • WIP

Events

created event

  1. Fires on room creation.
  2. Creates local peer connection and creates offer.
  3. Signal service broadcasts that the stream is ready.
  4. Receiving peers will create a peer connection and add media stream.

joined event

  • TBD

stream event

  • TBD

leave event

  • TBD

error event

  • TBD

Docker

The Dockerization of this package is WIP.

  • TODO: Build, Tag, Push
0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago