Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmturley/webrtc-radio
Broadcast and listen to WebRTC audio streams on a local network using peer-to-peer connections
https://github.com/kmturley/webrtc-radio
radio socket-io streaming-audio webrtc
Last synced: 1 day ago
JSON representation
Broadcast and listen to WebRTC audio streams on a local network using peer-to-peer connections
- Host: GitHub
- URL: https://github.com/kmturley/webrtc-radio
- Owner: kmturley
- Created: 2019-11-02T04:31:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T01:47:45.000Z (about 3 years ago)
- Last Synced: 2024-05-02T00:59:50.053Z (7 months ago)
- Topics: radio, socket-io, streaming-audio, webrtc
- Language: TypeScript
- Homepage:
- Size: 2.58 MB
- Stars: 28
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![alt text](https://raw.githubusercontent.com/kmturley/webrtc-audio-broadcast/master/src/assets/images/webrtc-radio.jpg "WebRTC Radio")
# webrtc-radioRadio web app which broadcasts audio across your local network using:
* WebRTC
* Angular 8.2.x
* NodeJS 10.16.x
* socket.io 2.3.xNote: This project supports multiple broadcasts with peer-to-peer communication, which is complex. If you only need a single audio broadcast server, check out https://github.com/meetecho/janus-gateway in particular this example https://janus.conf.meetecho.com/streamingtest.html
## Installation
Install dependencies using:
npm install
Generate an SSL key and certificate using:
npm run generate
## Usage
Run production HTTPS and Socket.io local servers using:
npm start
Access the web frontend at:
https://localhost:8080
## Development with live reload
In seperate terminals run the dev servers using:
npm run dev:backend
npm run dev:frontendGo to both urls and allow unsafe browser access to https at:
https://localhost:8080
https://localhost:4200Then develop using the live reload page at:
https://localhost:4200
## Understanding SDP output
Create a file containing the SDP data called:
sdp.txt
To then convert into a human readable structured output run:
npm run parser
Then open the generated file:
sdp.json
## Limitations
1) Maximum bitrate is 520kb/s stereo, which is 260kps per channel.
2) Actual bitrate depends on the speed of your network and strength of your signal.## Directory structure
/src --> Web source files
## Contact
For more information please contact kmturley