Show HN: Pion-WebRTC, a Go Native WebRTC Implementation
github.com
github.com
WebRTC is a powerful, but complicated technology. You can build amazing things, but it comes with a steep learning curve though. If you aren't sure what WebRTC is, here are some of the cool things you could build
* Send a video file to multiple browsers in real time, perfectly synchronized movie watching.
* Send a webcam on a small device to your browser, with no additional server required
* Securely send video between two servers
* Record your webcam and do special effects server side
* Build a conferencing application that processes audio/video and make decisions off of it
Using WebRTC in the browser is easy, but outside the browser is more of a challenge. There are multiple libraries, and they all have varying levels of quality. Most are also difficult to build, and depend on libraries that aren't available in repos or portable. pion-WebRTC aims to solve all that! Built in native Go you should be able to send and receive media and text from anywhere with minimal headache. These are the design principals that drive pion-WebRTC and hopefully convince you it is worth a try.
## Portable pion-WebRTC is written in Go and extremely portable. Anywhere Golang runs, pion-WebRTC should work as well! Instead of dealing with complicated cross-compiling of multiple libraries, you now can run anywhere with one `go build`
## Simple API If you know how to use WebRTC in your browser, you know how to use pion-WebRTC. We try our best just to duplicate the Javascript API, so your code can look the same everywhere.
If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pions/webrtc/tree/master/examples) and [GoDoc](https://godoc.org/github.com/pions/webrtc)
## Bring your own media pion-WebRTC doesn't make any assumptions about where your audio, video or text come from. You can use FFmpeg, GStreamer, MLT or just serve a video file. This library only serves to transport, not create media.
## Safe Golang provides a great foundation to build safe network services. Especially when running a networked service that is highly concurrent bugs can be devastating.
## Readable If code comes from an RFC we try to make sure everything is commented with a link to the spec. This makes learning and debugging easier, this WebRTC library was written to also serve as a guide for others.
## Tested Every commit is tested via travis-ci Go provides fantastic facilities for testing, and more will be added as time goes on.
## Shared libraries Every pion product is built using shared libraries, allowing others to review and reuse our libraries.