0f1ddf0825
Resolves #478. Adds minimal JavaScript/WASM bindings. This makes it possible to compile core parts of pions/webrtc to WASM and run it in the browser. Only data channels are supported for now and there is limited/no support for certificates and credentials. |
||
---|---|---|
.github | ||
examples | ||
internal | ||
pkg | ||
.codacy.yaml | ||
.eslintrc.json | ||
.gitignore | ||
.golangci.yml | ||
.travis.yml | ||
api_test.go | ||
api.go | ||
bundlepolicy_test.go | ||
bundlepolicy.go | ||
certificate_test.go | ||
certificate.go | ||
configuration_test.go | ||
configuration.go | ||
constants.go | ||
CONTRIBUTING.md | ||
datachannel_js.go | ||
datachannel_ortc_test.go | ||
datachannel_test.go | ||
datachannel.go | ||
datachannelinit.go | ||
datachannelmessage.go | ||
datachannelparameters.go | ||
datachannelstate_test.go | ||
datachannelstate.go | ||
DESIGN.md | ||
dtlsfingerprint.go | ||
dtlsparameters.go | ||
dtlsrole_test.go | ||
dtlsrole.go | ||
dtlstransport.go | ||
dtlstransportstate_test.go | ||
dtlstransportstate.go | ||
errors.go | ||
go.mod | ||
go.sum | ||
icecandidate_test.go | ||
icecandidate.go | ||
icecandidateinit_test.go | ||
icecandidateinit.go | ||
icecandidatepair.go | ||
icecandidatetype_test.go | ||
icecandidatetype.go | ||
icecomponent_test.go | ||
icecomponent.go | ||
iceconnectionstate_test.go | ||
iceconnectionstate.go | ||
icecredentialtype_test.go | ||
icecredentialtype.go | ||
icegatherer_test.go | ||
icegatherer.go | ||
icegathererstate_test.go | ||
icegathererstate.go | ||
icegatheringstate_test.go | ||
icegatheringstate.go | ||
icegatheroptions.go | ||
iceparameters.go | ||
iceprotocol_test.go | ||
iceprotocol.go | ||
icerole_test.go | ||
icerole.go | ||
iceserver_test.go | ||
iceserver.go | ||
icetransport.go | ||
icetransportpolicy_test.go | ||
icetransportpolicy.go | ||
icetransportstate_test.go | ||
icetransportstate.go | ||
js_utils.go | ||
LICENSE | ||
lossy_stream.go | ||
mediaengine_test.go | ||
mediaengine.go | ||
oauthcredential.go | ||
offeransweroptions.go | ||
peerconnection_close_test.go | ||
peerconnection_js.go | ||
peerconnection_media_test.go | ||
peerconnection_test.go | ||
peerconnection.go | ||
peerconnectionstate_test.go | ||
peerconnectionstate.go | ||
prioritytype_test.go | ||
prioritytype.go | ||
quicparameters.go | ||
quicrole_test.go | ||
quicrole.go | ||
quictransport_test.go | ||
quictransport.go | ||
README.md | ||
rtcpmuxpolicy_test.go | ||
rtcpmuxpolicy.go | ||
rtpcodingparameters.go | ||
rtpdecodingparameters.go | ||
rtpencodingparameters.go | ||
rtpreceiveparameters.go | ||
rtpreceiver.go | ||
rtpsender.go | ||
rtpsendparameters.go | ||
rtptransceiver.go | ||
rtptransceiverdirection_test.go | ||
rtptransceiverdirection.go | ||
sctpcapabilities.go | ||
sctptransport.go | ||
sctptransportstate_test.go | ||
sctptransportstate.go | ||
sdptype_test.go | ||
sdptype.go | ||
sessiondescription_test.go | ||
sessiondescription.go | ||
settingengine_test.go | ||
settingengine.go | ||
signalingstate_test.go | ||
signalingstate.go | ||
track.go |
Pion WebRTC
A pure Go implementation of the WebRTC API
See DESIGN.md for an overview of features and future goals.
Breaking Changes
Pion WebRTC v2.0.0 is coming soon! HEAD will be unstable for the next few weeks as we prepare for the new release. See the release notes to learn about the new features breaking changes.
Have any questions? Join the Slack channel to follow development and speak with the maintainers.
Use the tag v1.2.0 if you'd like to continue using the v1.0 API in the meantime. After v2.0 is released v1.0 will be deprecated and unmaintained.
Usage
Check out the example applications to help you along your Pion WebRTC journey.
The Pion WebRTC API closely matches the JavaScript WebRTC API. Most existing documentation is therefore also usefull when working with Pion. Furthermore, our GoDoc is actively maintained.
Now go forth and build some awesome apps! Here are some ideas to get your creative juices flowing:
- Send a video file to multiple browser in real time for perfectly synchronized movie watching.
- Send a webcam on an embedded device to your browser with no additional server required!
- Securely send data between two servers, without using pub/sub.
- Record your webcam and do special effects server side.
- Build a conferencing application that processes audio/video and make decisions off of it.
Roadmap
The library is in active development, please refer to the roadmap to track our major milestones.
Community
Pion has an active community on the Golang Slack. Sign up and join the #pion channel for discussions and support. You can also use Pion mailing list.
We are always looking to support your projects. Please reach out if you have something to build!
If you need commercial support or don't want to use public methods you can contact us at team@pion.ly
Related projects
- pions/turn: A simple extendable Golang TURN server
- [WIP] pions/media-server: A Pion WebRTC powered media server, providing the building blocks for anything RTC.
- [WIP] pions/dcnet: A package providing Golang net interfaces around Pion WebRTC data channels.
Contributing
Check out the contributing wiki to join the group of amazing people making this project possible:
- John Bradley - Original Author
- Michael Melvin Santry - Mascot
- Raphael Randschau - STUN
- Sean DuBois - Original Author
- Michiel De Backker - SDP, Public API, Project Management
- Brendan Rius - Cleanup
- Konstantin Itskov - SDP Parsing
- chenkaiC4 - Fix GolangCI Linter
- Ronan J - Fix STCP PPID
- wattanakorn495
- Max Hawkins - RTCP
- Justin Okamoto - Fix Docs
- leeoxiang - Implement Janus examples
- Denis - Adding docker-compose to pion-to-pion example
- earle - Generate DTLS fingerprint in Go
- Jake B - Fix Windows installation instructions
- Michael MacDonald
- Oleg Kovalov Use wildcards instead of hardcoding travis-ci config
- Woodrow Douglass RTCP, RTP improvements, G.722 support, Bugfixes
- Tobias Fridén SRTP authentication verification
- Yutaka Takeda Fix ICE connection timeout
- Hugo Arregui Fix connection timeout
- Rob Deutsch RTPReceiver graceful shutdown
- Jin Lei - SFU example use http
- Will Watson - Enable gocritic
- Luke Curley
- Antoine Baché - OGG Opus export
- frank - Building examples on OSX
- mxmCherry
- Alex Browne - JavaScript/WASM bindings
License
MIT License - see LICENSE for full text