Rod Hynes 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
..
LICENSES 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
e2e 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
examples 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
internal 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
pkg 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
test-wasm 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
AUTHORS.txt 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
DESIGN.md 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
LICENSE 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
README.md 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
api.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
api_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
api_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
atomicbool.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
bundlepolicy.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
bundlepolicy_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
certificate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
certificate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
codecov.yml 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
configuration.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
configuration_common.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
configuration_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
configuration_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
constants.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
datachannel.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannel_go_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannel_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannel_js_detach.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannel_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannelinit.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannelmessage.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannelparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannelstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
datachannelstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlsfingerprint.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlsparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlsrole.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlsrole_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlstransport.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
dtlstransport_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlstransport_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlstransportstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
dtlstransportstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
errors.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
gathering_complete_promise.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
gathering_complete_promise_example_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
go.mod 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
ice_go.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidateinit.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidateinit_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidatepair.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidatetype.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecandidatetype_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecomponent.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecomponent_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceconnectionstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceconnectionstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecredentialtype.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icecredentialtype_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegatherer.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
icegatherer_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegathererstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegathererstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegatheringstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegatheringstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icegatheroptions.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icemux.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceprotocol.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceprotocol_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icerole.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icerole_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceserver.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceserver_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
iceserver_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransport.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransport_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransport_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransportpolicy.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransportpolicy_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransportstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
icetransportstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
interceptor.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
interceptor_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
js_utils.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
mediaengine.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
mediaengine_test.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
networktype.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
networktype_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
oauthcredential.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
offeransweroptions.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
operations.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
operations_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
ortc_datachannel_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
ortc_media_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
ortc_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
package.json 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
peerconnection_close_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection_go_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection_js_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection_media_test.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
peerconnection_renegotiation_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnection_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnectionstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
peerconnectionstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
renovate.json 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtcpfeedback.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtcpmuxpolicy.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtcpmuxpolicy_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpcapabilities.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpcodec.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpcodingparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpdecodingparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpencodingparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpreceiveparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpreceiver.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
rtpreceiver_go.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpreceiver_go_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpreceiver_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpreceiver_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpsender.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
rtpsender_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpsender_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtpsendparameters.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtptransceiver.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
rtptransceiver_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtptransceiver_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtptransceiverdirection.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtptransceiverdirection_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
rtptransceiverinit.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sctpcapabilities.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sctptransport.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
sctptransport_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sctptransport_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sctptransportstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sctptransportstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sdp.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
sdp_test.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
sdpsemantics.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sdpsemantics_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sdptype.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sdptype_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
sessiondescription.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
sessiondescription_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
settingengine.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
settingengine_js.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
settingengine_test.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
signalingstate.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
signalingstate_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
srtp_writer_future.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
stats.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
stats_go.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
stats_go_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
track_local.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
track_local_static.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
track_local_static_test.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
track_remote.go 18942f4191 Bug fixes and WebRTC enhancements 1 year ago
track_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
vnet_test.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
webrtc.go 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago
yarn.lock 9d65882fca tunnel-core/inproxy integration: forked pion modules 1 year ago

README.md

Pion WebRTC
Pion WebRTC

A pure Go implementation of the WebRTC API

Pion WebRTC Sourcegraph Widget Slack Widget Twitter Widget
GitHub Workflow Status Go Reference Coverage Status Go Report Card


Usage

Go Modules are mandatory for using Pion WebRTC. So make sure you set export GO111MODULE=on, and explicitly specify /v2 or /v3 when importing.

example applications contains code samples of common things people build with Pion WebRTC.

example-webrtc-applications contains more full featured examples that use 3rd party libraries.

awesome-pion contains projects that have used Pion, and serve as real world examples of usage.

GoDoc is an auto generated API reference. All our Public APIs are commented.

FAQ has answers to common questions. If you have a question not covered please ask in Slack we are always looking to expand it.

Now go build something awesome! 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.
  • Remotely control a robots and stream its cameras in realtime.

Want to learn more about WebRTC?

Join our Office Hours. Come hang out, ask questions, get help debugging and hear about the cool things being built with WebRTC. We also start every meeting with basic project planning.

Check out WebRTC for the Curious. A book about WebRTC in depth, not just about the APIs. Learn the full details of ICE, SCTP, DTLS, SRTP, and how they work together to make up the WebRTC stack.

This is also a great resource if you are trying to debug. Learn the tools of the trade and how to approach WebRTC issues.

This book is vendor agnostic and will not have any Pion specific information.

Features

PeerConnection API

  • Go implementation of webrtc-pc and webrtc-stats
  • DataChannels
  • Send/Receive audio and video
  • Renegotiation
  • Plan-B and Unified Plan
  • SettingEngine for Pion specific extensions

Connectivity

  • Full ICE Agent
  • ICE Restart
  • Trickle ICE
  • STUN
  • TURN (UDP, TCP, DTLS and TLS)
  • mDNS candidates

DataChannels

  • Ordered/Unordered
  • Lossy/Lossless

Media

Security

  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 and TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA for DTLS v1.2
  • SRTP_AEAD_AES_256_GCM and SRTP_AES128_CM_HMAC_SHA1_80 for SRTP
  • Hardware acceleration available for GCM suites

Pure Go

  • No Cgo usage
  • Wide platform support
    • Windows, macOS, Linux, FreeBSD
    • iOS, Android
    • WASM see examples
    • 386, amd64, arm, mips, ppc64
  • Easy to build Numbers generated on Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
    • Time to build examples/play-from-disk - 0.66s user 0.20s system 306% cpu 0.279 total
    • Time to run entire test suite - 25.60s user 9.40s system 45% cpu 1:16.69 total
  • Tools to measure performance provided

Roadmap

The library is in active development, please refer to the roadmap to track our major milestones. We also maintain a list of Big Ideas these are things we want to build but don't have a clear plan or the resources yet. If you are looking to get involved this is a great place to get started! We would also love to hear your ideas! Even if you can't implement it yourself, it could inspire others.

Sponsoring

Work on Pion's congestion control and bandwidth estimation was funded through the User-Operated Internet fund, a fund established by NLnet made possible by financial support from the PKT Community/The Network Steward and stichting Technology Commons Trust.

Community

Pion has an active community on the Slack.

Follow the Pion Twitter for project updates and important WebRTC news.

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

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible: AUTHORS.txt

License

MIT License - see LICENSE for full text