--- a/StreamProcessing/StreamProcessing.html Thu Jul 07 17:43:28 2011 +1200
+++ b/StreamProcessing/StreamProcessing.html Thu Jul 07 17:44:42 2011 +1200
@@ -304,8 +304,7 @@
<p class="note">This means if the last input's video track is opaque, the video output is simply the video track of the last input.
</ul>
-<p>A <code>ProcessedMediaStream</code> with the "LastInput" processing engine simply produces the last input stream as
-output. If there are no input streams it produces the same output as the default processing engine.
+<p>A <code>ProcessedMediaStream</code> with the "LastInput" processing engine simply produces the last enabled input stream as output. If there are no enabled input streams, it produces the same output as the default processing engine.
<h3 id="mediainput">4.3 MediaInput</h3>
@@ -634,8 +633,6 @@
mixer.addInput(in2.captureStream()).enableAt(mixer.currentTime + 10);
in2.play();
// in2 will be blocked until the input port is enabled
-
- mixer.inputs[0].setEnabled(false, mixer.currentTime + 10);
in2.onplaying = function() { mixer.inputs[0].remove(); };
}
</script></pre></code>