You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. [=Assert=] that |newPipeToController| is the same object as |rtcObject|.`[[pipeToController]]`.
207
-
<!-- FIXME: Use pipeTo algorithm when available. -->
208
-
5. Call <a href="https://streams.spec.whatwg.org/#readable-stream-pipe-to">pipeTo</a> with |rtcObject|.`[[readable]]`, |checkedTransform|.`[[writable]]`, preventClose equal to false, preventAbort equal to false, preventCancel equal to true and |newPipeToController|'s [=AbortController/signal=].
209
-
6. Call <a href="https://streams.spec.whatwg.org/#readable-stream-pipe-to">pipeTo</a> with |checkedTransform|.`[[readable]]`, |rtcObject|.`[[writable]]`, preventClose equal to true, preventAbort equal to true, preventCancel equal to false and |newPipeToController|'s [=AbortController/signal=].
211
+
1. [=Assert=] that |newPipeToController| is the same object as |rtcObject|.`[[pipeToController]]`.
212
+
<!-- FIXME: Fix aborting. -->
213
+
<p class="note">TODO: Specify details of how
214
+
[=this=].`[[pipeToController]]` replaces the transform in the media pipeline.</p>
210
215
211
216
This algorithm is defined so that transforms can be updated dynamically.
212
217
There is no guarantee on which frame will happen the switch from the previous transform to the new transform.
@@ -931,7 +936,7 @@ The <dfn constructor for="RTCRtpScriptTransform" lt="RTCRtpScriptTransform(worke
931
936
932
937
Each {{RTCRtpScriptTransform}} has the following set of [$association steps$], given |rtcObject|:
933
938
1. Let |transform| be the {{RTCRtpScriptTransform}} object that owns the [$association steps$].
934
-
1. Let |frameSource| be |rtcObject|'s [=encoder=] if |rtcObject| is an {{RTCRtpSender}} or |rtcObject|'s [=depacketizer=] otherwise.
939
+
1. Let |frameSource| be |rtcObject|'s `[[frameSource=]]`.
935
940
1. [=Queue a task=] on the DOM manipulation [=task source=] |worker|'s global scope to run the following steps:
936
941
1. Let |transformer| be the {{RTCRtpScriptTransformer}} object associated to |transform|.
937
942
1. Set |transformer|.{{[[frameSource]]}} to |frameSource|.
0 commit comments