index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>libdatachannel</title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta charset="utf-8">
  7. <link href="https://libdatachannel.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="libdatachannel Full Atom Feed">
  8. <!-- twitter card metadata -->
  9. <meta name="twitter:site" content="">
  10. <meta name="twitter:title" content="libdatachannel">
  11. <meta name="twitter:description" content="">
  12. <!-- OG Tags -->
  13. <meta property="og:url" content="https://libdatachannel.org/"/>
  14. <meta property="og:title" content="libdatachannel | libdatachannel" />
  15. <meta property="og:description" content="" />
  16. <!-- favicon -->
  17. <!-- css -->
  18. <link rel="stylesheet" type="text/css" href="https://libdatachannel.org/theme/css/main.css">
  19. <link rel="stylesheet" type="text/css" href="https://libdatachannel.org/theme/css/pygments-highlight.css">
  20. </head>
  21. <body>
  22. <a href="https://github.com/paullouisageneau/libdatachannel">
  23. <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://libdatachannel.org/images/forkme_right_gray_6d6d6d.svg" alt="Fork me on GitHub" />
  24. </a>
  25. <div role="banner" id="banner">
  26. <header>
  27. <nav id="menu">
  28. <ul>
  29. <li class="active"><a href="https://libdatachannel.org/">libdatachannel</a></li>
  30. <li><a href="https://libdatachannel.org/pages/reference.html">reference</a></li>
  31. </ul>
  32. </nav>
  33. </header>
  34. </div>
  35. <div class="page" role="main">
  36. <div class="article" role="article">
  37. <article>
  38. <header>
  39. <h1>
  40. libdatachannel
  41. </h1>
  42. </header>
  43. <div class="content">
  44. <div id="home">
  45. <header>
  46. <p>libdatachannel is an open-source software library implementing WebRTC Data Channels, WebRTC Media Transport, and WebSockets. It is written in C++17 and offers C bindings. The <a href="https://github.com/paullouisageneau/libdatachannel">source code</a> is available under MPL 2.0, and the library is on <a href="https://aur.archlinux.org/packages/libdatachannel/">AUR</a>, <a href="https://github.com/Microsoft/vcpkg/tree/master/ports/libdatachannel">Vcpkg</a>, and <a href="https://github.com/Microsoft/vcpkg/tree/master/ports/libdatachannel">FreeBSD Ports</a>.</p>
  47. <div class="social">
  48. <a href="https://github.com/paullouisageneau/libdatachannel"><img src="/images/icon_github.png" alt="GitHub"></a>
  49. <a href="https://gitter.im/libdatachannel/community"><img src="/images/icon_gitter.png" alt="Gitter"></a>
  50. <a href="https://discord.gg/jXAP8jp3Nn"><img src="/images/icon_discord.png" alt="Discord"></a>
  51. </div>
  52. </header>
  53. <section>
  54. <img src="/images/icon_easy.png">
  55. <h3>Easy</h3>
  56. <ul>
  57. <li>Simple API inspired by the JavaScript API including WebSocket for signaling</li>
  58. <li>Minimal external dependencies (only <a href="https://www.openssl.org/">OpenSSL</a> or <a href="https://www.openssl.org/">GnuTLS</a>)
  59. <li>Lightweight and way easier to compile and use than Google's <a href="https://webrtc.googlesource.com/src/">reference library</a>
  60. </ul>
  61. </section>
  62. <section>
  63. <img src="/images/icon_compatible.png">
  64. <h3>Compatible</h3>
  65. <ul>
  66. <li>Compatible with browsers Firefox, Chromium, and Safari, and other WebRTC libraries (see <a href="https://github.com/sipsorcery/webrtc-echoes">webrtc-echoes</a>)</li>
  67. <li>Licensed under <a href="https://www.mozilla.org/en-US/MPL/2.0/FAQ/">MPL 2.0</a>, meaning software with any license may use the library</li>
  68. <li>Community-maintained bindings available for <a href="https://github.com/lerouxrgd/datachannel-rs">Rust</a>, <a href="https://github.com/murat-dogan/node-datachannel">Node.js</a>, and <a href="https://github.com/hanseuljun/datachannel-unity">Unity</a></li>
  69. </ul>
  70. </section>
  71. <section>
  72. <img src="/images/icon_portable.png">
  73. <h3>Portable</h3>
  74. <ul>
  75. <li>Support for POSIX platforms (including GNU/Linux, Android, FreeBSD, Apple macOS and iOS) and Microsoft Windows</li>
  76. <li>Support for <a href="https://www.gnutls.org/">GnuTLS</a>, <a href="https://www.trustedfirmware.org/projects/mbed-tls/">Mbed TLS</a>, or <a href="https://www.openssl.org/">OpenSSL</a> as TLS backend
  77. <li>Code using Data Channels and WebSockets may be compiled as-is to WebAssembly for browsers with <a href="https://github.com/paullouisageneau/datachannel-wasm">datachannel-wasm</a></li>
  78. </ul>
  79. </section>
  80. <div class="sponsor">
  81. <iframe src="https://github.com/sponsors/paullouisageneau/button" title="Sponsor paullouisageneau" height="35" width="116" style="border: 0;"></iframe>
  82. <div class="liberapay"><a href="https://liberapay.com/paullouisageneau/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></div>
  83. <div class="ko-fi"><a href='https://ko-fi.com/A0A8CIDHU' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a></div>
  84. </div>
  85. </div>
  86. <div class="back-to-top">
  87. <a href="#top">back to top</a>
  88. </div>
  89. </article>
  90. </div>
  91. <!-- end article -->
  92. <footer>
  93. <p>© 2021 Paul-Louis Ageneau</p>
  94. </footer>
  95. </div>
  96. </body>
  97. </html>