Skip to content

Commit

Permalink
Add motivation and one-pager.
Browse files Browse the repository at this point in the history
SHA: ff5f12c
Reason: push, by anssiko

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
backkem and github-actions[bot] committed Apr 22, 2024
1 parent 11f11b5 commit 6f8020c
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
<title>Local Peer-to-Peer API</title>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<meta content="Bikeshed version d5d58a306, updated Fri Jan 26 16:12:28 2024 -0800" name="generator">
<meta content="Bikeshed version d765c696b, updated Fri Mar 8 15:58:52 2024 -0800" name="generator">
<link href="https://WICG.github.io/local-peer-to-peer/" rel="canonical">
<meta content="62af542c1c280ae0968dd3e9715c195715921252" name="revision">
<meta content="ff5f12c051c4ee3a00a476e318df0eb422c1da66" name="revision">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down Expand Up @@ -692,7 +694,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">Local Peer-to-Peer API</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#CG-DRAFT">Draft Community Group Report</a>, <time class="dt-updated" datetime="2024-02-13">13 February 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#CG-DRAFT">Draft Community Group Report</a>, <time class="dt-updated" datetime="2024-04-22">22 April 2024</time></p>
<div data-fill-with="spec-metadata">
<dl>
<dt>This version:
Expand Down Expand Up @@ -971,7 +973,7 @@ <h2 class="heading settled" data-level="7" id="lp2p-receiver"><span class="secno
<h3 class="heading settled" data-level="7.1" id="lp2p-receiver-options"><span class="secno">7.1. </span><span class="content">LP2PReceiverOptions</span><a class="self-link" href="#lp2p-receiver-options"></a></h3>
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed" id="ref-for-Exposed①"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext" id="ref-for-SecureContext①"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-lp2preceiveroptions"><code><c- g>LP2PReceiverOptions</c-></code></dfn> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString"><c- b>DOMString</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PReceiverOptions" data-dfn-type="dict-member" data-export data-type="DOMString " id="dom-lp2preceiveroptions-nickname"><code><c- g>nickname</c-></code></dfn>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString"><c- b>DOMString</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PReceiverOptions" data-dfn-type="dict-member" data-export data-type="DOMString" id="dom-lp2preceiveroptions-nickname"><code><c- g>nickname</c-></code></dfn>;
};
</pre>
<h3 class="heading settled" data-level="7.2" id="lp2p-receiver-connection-event"><span class="secno">7.2. </span><span class="content">LP2PConnectionEvent</span><a class="self-link" href="#lp2p-receiver-connection-event"></a></h3>
Expand All @@ -983,7 +985,7 @@ <h3 class="heading settled" data-level="7.2" id="lp2p-receiver-connection-event"
};

<c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-lp2pconnectioneventinit"><code><c- g>LP2PConnectionEventInit</c-></code></dfn> : <a data-link-type="idl-name" href="https://dom.spec.whatwg.org/#dictdef-eventinit" id="ref-for-dictdef-eventinit"><c- n>EventInit</c-></a> {
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pconnection" id="ref-for-lp2pconnection①"><c- n>LP2PConnection</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PConnectionEventInit" data-dfn-type="dict-member" data-export data-type="LP2PConnection " id="dom-lp2pconnectioneventinit-connection"><code><c- g>connection</c-></code></dfn>;
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pconnection" id="ref-for-lp2pconnection①"><c- n>LP2PConnection</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PConnectionEventInit" data-dfn-type="dict-member" data-export data-type="LP2PConnection" id="dom-lp2pconnectioneventinit-connection"><code><c- g>connection</c-></code></dfn>;
};
</pre>
<h3 class="heading settled" data-level="7.3" id="lp2p-receiver-events"><span class="secno">7.3. </span><span class="content">Events</span><a class="self-link" href="#lp2p-receiver-events"></a></h3>
Expand Down Expand Up @@ -1038,7 +1040,7 @@ <h2 class="heading settled" data-level="8" id="lp2p-request"><span class="secno"
<h3 class="heading settled" data-level="8.1" id="lp2p-request-options"><span class="secno">8.1. </span><span class="content">LP2PRequestOptions</span><a class="self-link" href="#lp2p-request-options"></a></h3>
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed" id="ref-for-Exposed④"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext" id="ref-for-SecureContext④"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-lp2prequestoptions"><code><c- g>LP2PRequestOptions</c-></code></dfn> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString②"><c- b>DOMString</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PRequestOptions" data-dfn-type="dict-member" data-export data-type="DOMString " id="dom-lp2prequestoptions-nickname"><code><c- g>nickname</c-></code></dfn>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString②"><c- b>DOMString</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PRequestOptions" data-dfn-type="dict-member" data-export data-type="DOMString" id="dom-lp2prequestoptions-nickname"><code><c- g>nickname</c-></code></dfn>;
};
</pre>
<h3 class="heading settled" data-level="8.2" id="lp2p-request-examples"><span class="secno">8.2. </span><span class="content">Examples</span><a class="self-link" href="#lp2p-request-examples"></a></h3>
Expand Down Expand Up @@ -1122,8 +1124,8 @@ <h2 class="heading settled" data-level="10" id="lp2p-data-channel"><span class="
<h3 class="heading settled" data-level="10.1" id="lp2p-data-channel-init"><span class="secno">10.1. </span><span class="content">LP2PDataChannelInit</span><a class="self-link" href="#lp2p-data-channel-init"></a></h3>
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed" id="ref-for-Exposed⑧"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext" id="ref-for-SecureContext⑧"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-lp2pdatachannelinit"><code><c- g>LP2PDataChannelInit</c-></code></dfn> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-USVString" id="ref-for-idl-USVString④"><c- b>USVString</c-></a> <dfn class="dfn-paneled idl-code" data-default="&quot;&quot;" data-dfn-for="LP2PDataChannelInit" data-dfn-type="dict-member" data-export data-type="USVString " id="dom-lp2pdatachannelinit-protocol"><code><c- g>protocol</c-></code></dfn> = "";
[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#EnforceRange" id="ref-for-EnforceRange"><c- g>EnforceRange</c-></a>] <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-unsigned-short" id="ref-for-idl-unsigned-short①"><c- b>unsigned</c-> <c- b>short</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PDataChannelInit" data-dfn-type="dict-member" data-export data-type="unsigned short " id="dom-lp2pdatachannelinit-id"><code><c- g>id</c-></code></dfn>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-USVString" id="ref-for-idl-USVString④"><c- b>USVString</c-></a> <dfn class="dfn-paneled idl-code" data-default="&quot;&quot;" data-dfn-for="LP2PDataChannelInit" data-dfn-type="dict-member" data-export data-type="USVString" id="dom-lp2pdatachannelinit-protocol"><code><c- g>protocol</c-></code></dfn> = "";
[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#EnforceRange" id="ref-for-EnforceRange"><c- g>EnforceRange</c-></a>] <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-unsigned-short" id="ref-for-idl-unsigned-short①"><c- b>unsigned</c-> <c- b>short</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PDataChannelInit" data-dfn-type="dict-member" data-export data-type="unsigned short" id="dom-lp2pdatachannelinit-id"><code><c- g>id</c-></code></dfn>;
};
</pre>
<h3 class="heading settled" data-level="10.2" id="lp2p-data-channel-events"><span class="secno">10.2. </span><span class="content">Events</span><a class="self-link" href="#lp2p-data-channel-events"></a></h3>
Expand Down Expand Up @@ -1197,7 +1199,7 @@ <h3 class="heading settled" data-level="10.5" id="lp2p-data-channel-event"><span
};

<c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-lp2pdatachanneleventinit"><code><c- g>LP2PDataChannelEventInit</c-></code></dfn> : <a data-link-type="idl-name" href="https://dom.spec.whatwg.org/#dictdef-eventinit" id="ref-for-dictdef-eventinit①"><c- n>EventInit</c-></a> {
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pdatachannel" id="ref-for-lp2pdatachannel③"><c- n>LP2PDataChannel</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PDataChannelEventInit" data-dfn-type="dict-member" data-export data-type="LP2PDataChannel " id="dom-lp2pdatachanneleventinit-channel"><code><c- g>channel</c-></code></dfn>;
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pdatachannel" id="ref-for-lp2pdatachannel③"><c- n>LP2PDataChannel</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="LP2PDataChannelEventInit" data-dfn-type="dict-member" data-export data-type="LP2PDataChannel" id="dom-lp2pdatachanneleventinit-channel"><code><c- g>channel</c-></code></dfn>;
};
</pre>
<h3 class="heading settled" data-level="10.6" id="lp2p-connection-data-channel-extensions-events"><span class="secno">10.6. </span><span class="content">Extensions Events</span><a class="self-link" href="#lp2p-connection-data-channel-extensions-events"></a></h3>
Expand Down Expand Up @@ -1406,7 +1408,7 @@ <h3 class="no-ref no-num heading settled" id="w3c-conventions"><span class="cont
like this: </p>
<p class="note" role="note">Note, this is an informative note.</p>
</div>
<script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script>
<script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script>
<h2 class="no-num no-ref heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2>
<h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="content">Terms defined by this specification</span><a class="self-link" href="#index-defined-here"></a></h3>
<ul class="index">
Expand Down Expand Up @@ -1664,7 +1666,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <a href="#dictdef-lp2preceiveroptions"><code><c- g>LP2PReceiverOptions</c-></code></a> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString"><c- b>DOMString</c-></a> <a data-type="DOMString " href="#dom-lp2preceiveroptions-nickname"><code><c- g>nickname</c-></code></a>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString"><c- b>DOMString</c-></a> <a data-type="DOMString" href="#dom-lp2preceiveroptions-nickname"><code><c- g>nickname</c-></code></a>;
};

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
Expand All @@ -1674,7 +1676,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
};

<c- b>dictionary</c-> <a href="#dictdef-lp2pconnectioneventinit"><code><c- g>LP2PConnectionEventInit</c-></code></a> : <a data-link-type="idl-name" href="https://dom.spec.whatwg.org/#dictdef-eventinit"><c- n>EventInit</c-></a> {
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pconnection"><c- n>LP2PConnection</c-></a> <a data-type="LP2PConnection " href="#dom-lp2pconnectioneventinit-connection"><code><c- g>connection</c-></code></a>;
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pconnection"><c- n>LP2PConnection</c-></a> <a data-type="LP2PConnection" href="#dom-lp2pconnectioneventinit-connection"><code><c- g>connection</c-></code></a>;
};

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
Expand All @@ -1685,7 +1687,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <a href="#dictdef-lp2prequestoptions"><code><c- g>LP2PRequestOptions</c-></code></a> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString"><c- b>DOMString</c-></a> <a data-type="DOMString " href="#dom-lp2prequestoptions-nickname"><code><c- g>nickname</c-></code></a>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-DOMString"><c- b>DOMString</c-></a> <a data-type="DOMString" href="#dom-lp2prequestoptions-nickname"><code><c- g>nickname</c-></code></a>;
};

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
Expand Down Expand Up @@ -1717,8 +1719,8 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
<c- b>dictionary</c-> <a href="#dictdef-lp2pdatachannelinit"><code><c- g>LP2PDataChannelInit</c-></code></a> {
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-USVString"><c- b>USVString</c-></a> <a data-default="&quot;&quot;" data-type="USVString " href="#dom-lp2pdatachannelinit-protocol"><code><c- g>protocol</c-></code></a> = "";
[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#EnforceRange"><c- g>EnforceRange</c-></a>] <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-unsigned-short"><c- b>unsigned</c-> <c- b>short</c-></a> <a data-type="unsigned short " href="#dom-lp2pdatachannelinit-id"><code><c- g>id</c-></code></a>;
<a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-USVString"><c- b>USVString</c-></a> <a data-default="&quot;&quot;" data-type="USVString" href="#dom-lp2pdatachannelinit-protocol"><code><c- g>protocol</c-></code></a> = "";
[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#EnforceRange"><c- g>EnforceRange</c-></a>] <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-unsigned-short"><c- b>unsigned</c-> <c- b>short</c-></a> <a data-type="unsigned short" href="#dom-lp2pdatachannelinit-id"><code><c- g>id</c-></code></a>;
};

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
Expand All @@ -1735,7 +1737,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
};

<c- b>dictionary</c-> <a href="#dictdef-lp2pdatachanneleventinit"><code><c- g>LP2PDataChannelEventInit</c-></code></a> : <a data-link-type="idl-name" href="https://dom.spec.whatwg.org/#dictdef-eventinit"><c- n>EventInit</c-></a> {
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pdatachannel"><c- n>LP2PDataChannel</c-></a> <a data-type="LP2PDataChannel " href="#dom-lp2pdatachanneleventinit-channel"><code><c- g>channel</c-></code></a>;
<c- b>required</c-> <a data-link-type="idl-name" href="#lp2pdatachannel"><c- n>LP2PDataChannel</c-></a> <a data-type="LP2PDataChannel" href="#dom-lp2pdatachanneleventinit-channel"><code><c- g>channel</c-></code></a>;
};

[<a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->), <a class="idl-code" data-link-type="extended-attribute" href="https://webidl.spec.whatwg.org/#SecureContext"><c- g>SecureContext</c-></a>]
Expand Down

0 comments on commit 6f8020c

Please sign in to comment.