This project is in Progress.
- Golang >= 1.15
- Ffmpeg >= 4.3.1-5 (Currently available in
Debian Sid
)
- Users can connect via
POST
request and start streaming(1.5Mbps speed is hardcoded for the stream). - The Server recieves the stream and converts it into HLS.
- Integrating FFmpeg.(Completed for now, further optimization will be done later)
- Allowing multiple users to connect and start broadcasting.(not in priority, at this stage.)
- CDN Integration ( Post UI development)
- Front-end UI Development in android, web, ios. ( Current priority is android & web)
To receive the broadcast, Convert it into hls in various quality then push those to cdn to serve to the User.
Before using this solution you should set-up pion/webrtc/v3 (Go Modules are mandatory for using Pion WebRTC. So make sure you set export GO111MODULE=on, and explicitly specify /v3 when importing.).
Run main.go
- Paste any random thing u wanna past
- Click
Publish a Broadcast
and now you don't have to do anything. - Communicating with server is done by the js itself.
- If you want to know the request that is sent to server via
POST
method, refer to the screenshot attached below. Theapplication
will respond with an offer as a response to thePOST
.