[html5] r5956 - [giow] (0) Minor tweaks to PeerConnection to make it more usable
whatwg at whatwg.org
whatwg at whatwg.org
Thu Mar 17 18:17:53 PDT 2011
Author: ianh
Date: 2011-03-17 18:17:52 -0700 (Thu, 17 Mar 2011)
New Revision: 5956
Modified:
complete.html
index
source
Log:
[giow] (0) Minor tweaks to PeerConnection to make it more usable
Modified: complete.html
===================================================================
--- complete.html 2011-03-16 07:37:41 UTC (rev 5955)
+++ complete.html 2011-03-18 01:17:52 UTC (rev 5956)
@@ -239,7 +239,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 16 March 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 18 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -71668,7 +71668,7 @@
<p id="errorMessage">Loading...</p>
</section>
<section id="app" hidden>
- <p><video id="monitor"></video> <canvas id="photo"></canvas>
+ <p><video id="monitor" autoplay></video> <canvas id="photo"></canvas>
<p><input type=button value="📷" onclick="snapshot()">
</section>
<script>
@@ -71734,7 +71734,7 @@
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn id=signalingcallback>SignalingCallback</dfn> {
- void <span title=dom-SignalingCallback-handleEvent>handleEvent</span>(in <a href=#peerconnection>PeerConnection</a> source, in DOMString message);
+ void <span title=dom-SignalingCallback-handleEvent>handleEvent</span>(in DOMString message, in <a href=#peerconnection>PeerConnection</a> source);
};</pre>
<p>A <code><a href=#peerconnection>PeerConnection</a></code> allows two users to communicate
@@ -71784,11 +71784,11 @@
</dl><p>The <var title="">signalingCallback</var> argument is a method
that will be invoked when the user agent needs to send a message
- to the other host over the signaling channel. When the callback
- is invoked, convey its argument (a string) to the other peer using
- whatever method is being used by the Web application to relay
- signaling messages. (Messages returned from the other peer are
- provided back to the user agent using the <code title=dom-PeerConnection-signalingMessage><a href=#dom-peerconnection-signalingmessage>signalingMessage()</a></code>
+ to the other host over the signaling channel. When the callback is
+ invoked, convey its first argument (a string) to the other peer
+ using whatever method is being used by the Web application to
+ relay signaling messages. (Messages returned from the other peer
+ are provided back to the user agent using the <code title=dom-PeerConnection-signalingMessage><a href=#dom-peerconnection-signalingmessage>signalingMessage()</a></code>
method.)</p>
</dd>
@@ -72078,7 +72078,8 @@
<li><p><a href=#queue-a-task>Queue a task</a> to invoke that
<a href=#peerconnection-ice-agent><code>PeerConnection</code> ICE Agent</a>'s
<a href=#peerconnection-signaling-callback><code>PeerConnection</code> signaling callback</a> with
- <var title="">message</var> as its argument.</li>
+ <var title="">message</var> as its first argument and the
+ <code><a href=#peerconnection>PeerConnection</a></code> as its second argument.</li>
</ol><p>All streams represented by <code><a href=#stream>Stream</a></code> objects must be
marked as "sendonly" by the peer that initially adds the stream to
@@ -96432,6 +96433,7 @@
Olli Pettay,
oSand, <!-- from reddit -->
Patrick H. Lauke,
+ Patrik Persson,
Paul Norman,
Per-Erik Brodin,
Perry Smith,
Modified: index
===================================================================
--- index 2011-03-16 07:37:41 UTC (rev 5955)
+++ index 2011-03-18 01:17:52 UTC (rev 5956)
@@ -243,7 +243,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 16 March 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 18 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -71677,7 +71677,7 @@
<p id="errorMessage">Loading...</p>
</section>
<section id="app" hidden>
- <p><video id="monitor"></video> <canvas id="photo"></canvas>
+ <p><video id="monitor" autoplay></video> <canvas id="photo"></canvas>
<p><input type=button value="📷" onclick="snapshot()">
</section>
<script>
@@ -71743,7 +71743,7 @@
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn id=signalingcallback>SignalingCallback</dfn> {
- void <span title=dom-SignalingCallback-handleEvent>handleEvent</span>(in <a href=#peerconnection>PeerConnection</a> source, in DOMString message);
+ void <span title=dom-SignalingCallback-handleEvent>handleEvent</span>(in DOMString message, in <a href=#peerconnection>PeerConnection</a> source);
};</pre>
<p>A <code><a href=#peerconnection>PeerConnection</a></code> allows two users to communicate
@@ -71793,11 +71793,11 @@
</dl><p>The <var title="">signalingCallback</var> argument is a method
that will be invoked when the user agent needs to send a message
- to the other host over the signaling channel. When the callback
- is invoked, convey its argument (a string) to the other peer using
- whatever method is being used by the Web application to relay
- signaling messages. (Messages returned from the other peer are
- provided back to the user agent using the <code title=dom-PeerConnection-signalingMessage><a href=#dom-peerconnection-signalingmessage>signalingMessage()</a></code>
+ to the other host over the signaling channel. When the callback is
+ invoked, convey its first argument (a string) to the other peer
+ using whatever method is being used by the Web application to
+ relay signaling messages. (Messages returned from the other peer
+ are provided back to the user agent using the <code title=dom-PeerConnection-signalingMessage><a href=#dom-peerconnection-signalingmessage>signalingMessage()</a></code>
method.)</p>
</dd>
@@ -72087,7 +72087,8 @@
<li><p><a href=#queue-a-task>Queue a task</a> to invoke that
<a href=#peerconnection-ice-agent><code>PeerConnection</code> ICE Agent</a>'s
<a href=#peerconnection-signaling-callback><code>PeerConnection</code> signaling callback</a> with
- <var title="">message</var> as its argument.</li>
+ <var title="">message</var> as its first argument and the
+ <code><a href=#peerconnection>PeerConnection</a></code> as its second argument.</li>
</ol><p>All streams represented by <code><a href=#stream>Stream</a></code> objects must be
marked as "sendonly" by the peer that initially adds the stream to
@@ -92557,6 +92558,7 @@
Olli Pettay,
oSand, <!-- from reddit -->
Patrick H. Lauke,
+ Patrik Persson,
Paul Norman,
Per-Erik Brodin,
Perry Smith,
Modified: source
===================================================================
--- source 2011-03-16 07:37:41 UTC (rev 5955)
+++ source 2011-03-18 01:17:52 UTC (rev 5956)
@@ -81766,7 +81766,7 @@
<p id="errorMessage">Loading...</p>
</section>
<section id="app" hidden>
- <p><video id="monitor"></video> <canvas id="photo"></canvas>
+ <p><video id="monitor" autoplay></video> <canvas id="photo"></canvas>
<p><input type=button value="📷" onclick="snapshot()">
</section>
<script>
@@ -81832,7 +81832,7 @@
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn>SignalingCallback</dfn> {
- void <span title="dom-SignalingCallback-handleEvent">handleEvent</span>(in <span>PeerConnection</span> source, in DOMString message);
+ void <span title="dom-SignalingCallback-handleEvent">handleEvent</span>(in DOMString message, in <span>PeerConnection</span> source);
};</pre>
<p>A <code>PeerConnection</code> allows two users to communicate
@@ -81893,11 +81893,11 @@
<p>The <var title="">signalingCallback</var> argument is a method
that will be invoked when the user agent needs to send a message
- to the other host over the signaling channel. When the callback
- is invoked, convey its argument (a string) to the other peer using
- whatever method is being used by the Web application to relay
- signaling messages. (Messages returned from the other peer are
- provided back to the user agent using the <code
+ to the other host over the signaling channel. When the callback is
+ invoked, convey its first argument (a string) to the other peer
+ using whatever method is being used by the Web application to
+ relay signaling messages. (Messages returned from the other peer
+ are provided back to the user agent using the <code
title="dom-PeerConnection-signalingMessage">signalingMessage()</code>
method.)</p>
@@ -82231,7 +82231,8 @@
<li><p><span>Queue a task</span> to invoke that
<span><code>PeerConnection</code> ICE Agent</span>'s
<span><code>PeerConnection</code> signaling callback</span> with
- <var title="">message</var> as its argument.</p></li>
+ <var title="">message</var> as its first argument and the
+ <code>PeerConnection</code> as its second argument.</p></li>
</ol>
@@ -109922,6 +109923,7 @@
Olli Pettay,
oSand, <!-- from reddit -->
Patrick H. Lauke,
+ Patrik Persson,
Paul Norman,
Per-Erik Brodin,
Perry Smith,
More information about the Commit-Watchers
mailing list