Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 380491 of WebRTC data channels

  • Revision slug: Games/WebRTC_data_channels
  • Revision title: WebRTC data channels
  • Revision id: 380491
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment

Revision Content

{{SeeCompatTable}}

The WebRTC (Web Real-Time Communications) API is primarily known for its support for audio and video communications; however, it also offers peer-to-peer data channels. These channels let you send text or binary data over an active connection to a peer. This article explains more about this, and shows you how to use libraries to implement data channels in your game.

 

Browser compatibility

Currently, to use WebRTC data channels, you'll need a build of Firefox Nightly or of Chrome Canary. They also work on Firefox OS.

Note: We need a formal compatibility table here at some point.

 

Revision Source

<p>{{SeeCompatTable}}</p>
<p>The <a href="/en-US/docs/WebRTC" title="/en-US/docs/WebRTC">WebRTC</a> (Web Real-Time Communications) API is primarily known for its support for audio and video communications; however, it also offers peer-to-peer data channels. These channels let you send text or binary data over an active connection to a peer. This article explains more about this, and shows you how to use libraries to implement data channels in your game.</p>
<p>&nbsp;</p>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<p>Currently, to use WebRTC data channels, you'll need a build of <a href="https://nightly.firefox.org" title="https://nightly.firefox.org">Firefox Nightly</a> or of <a href="https://www.google.com/intl/en/chrome/browser/canary.html" title="https://www.google.com/intl/en/chrome/browser/canary.html">Chrome Canary</a>. They also work on <a href="/en-US/docs/Mozilla/Firefox_OS" title="/en-US/docs/Mozilla/Firefox_OS">Firefox OS</a>.</p>
<div class="note">
  <p><strong>Note:</strong> We need a formal compatibility table here at some point.</p>
</div>
<p>&nbsp;</p>
Revert to this revision