@waynecodez/wrtc-stream v0.0.25
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?
- Node.js and npm installed
- Installation of npm packages:
- socket.io (server)
- socket.io-client (client)
- Development environment:
- Backend server with
socket.io
connection - Frontend client with
socket.io-client
connection
- Backend server with
Connection Flow
- Host: creates / joins room
- ...
Signaling
- WIP
Events
created
event
- Fires on room creation.
- Creates local peer connection and creates offer.
- Signal service broadcasts that the stream is ready.
- 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
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago