status-go/vendor/github.com/pion/webrtc/v3
richΛrd 9e0fb30f8d
chore_: bump go-waku (#5150)
2024-05-15 19:15:00 -04:00
..
internal chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
pkg chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.codacy.yaml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.eslintrc.json Add torrent library dependency 2022-04-06 11:48:16 +02:00
.gitignore chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.golangci.yml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.goreleaser.yml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
AUTHORS.txt chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
DESIGN.md Add torrent library dependency 2022-04-06 11:48:16 +02:00
LICENSE chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
README.md chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
api.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
api_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
atomicbool.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
bundlepolicy.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
certificate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
codecov.yml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
configuration.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
configuration_common.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
configuration_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
constants.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannel.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannel_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannel_js_detach.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannelinit.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannelmessage.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannelparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
datachannelstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlsfingerprint.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlsparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlsrole.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlstransport.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlstransport_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
dtlstransportstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
errors.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
gathering_complete_promise.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
ice_go.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecandidate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecandidateinit.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecandidatepair.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecandidatetype.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecomponent.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
iceconnectionstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icecredentialtype.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icegatherer.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icegathererstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icegatheringstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icegatheroptions.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icemux.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
iceparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
iceprotocol.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icerole.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
iceserver.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
iceserver_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icetransport.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icetransport_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icetransportpolicy.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
icetransportstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
interceptor.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
js_utils.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
mediaengine.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
networktype.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
oauthcredential.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
offeransweroptions.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
operations.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
package.json Add torrent library dependency 2022-04-06 11:48:16 +02:00
peerconnection.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
peerconnection_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
peerconnectionstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
renovate.json chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtcpfeedback.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtcpmuxpolicy.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpcapabilities.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpcodec.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpcodingparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpdecodingparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpencodingparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpreceiveparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpreceiver.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpreceiver_go.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpreceiver_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpsender.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpsender_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtpsendparameters.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtptransceiver.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtptransceiver_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtptransceiverdirection.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
rtptransceiverinit.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sctpcapabilities.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sctptransport.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sctptransport_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sctptransportstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sdp.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sdpsemantics.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sdptype.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
sessiondescription.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
settingengine.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
settingengine_js.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
signalingstate.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
srtp_writer_future.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
stats.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
stats_go.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
track_local.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
track_local_static.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
track_remote.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
webrtc.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
yarn.lock chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00

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 License: MIT


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