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
Copy file name to clipboardExpand all lines: index.bs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ At construction of each {{RTCRtpSender}} or {{RTCRtpReceiver}}, run the followin
99
99
1. If [=this=].`[[pipeToController]]` is not null, abort these steps.
100
100
2. Set [=this=].`[[pipeToController]]` to a new {{AbortController}}.
101
101
<!-- FIXME: Use pipeTo algorithm when available. -->
102
-
3. Call <a href="https://streams.spec.whatwg.org/#readable-stream-pipe-to">pipeTo</a> with [=this=].`[[readable]]`, [=this=].`[[writable]]`, preventClose equal to true, preventAbort equal to true, preventCancel equal to true and [=this=].`[[pipeToController]]`.signal.
102
+
3. Call <a href="https://streams.spec.whatwg.org/#readable-stream-pipe-to">pipeTo</a> with [=this=].`[[readable]]`, [=this=].`[[writable]]`, preventClose equal to true, preventAbort equal to true, preventCancel equal to true and [=this=].`[[pipeToController]]`'s [=AbortController/signal=].
103
103
104
104
### Stream processing ### {#stream-processing}
105
105
@@ -146,21 +146,21 @@ The `transform` setter steps are:
146
146
4. Let |writer| be the result of [=WritableStream/getting a writer=] for |checkedTransform|.`[[writable]]`.
147
147
5. Initialize |newPipeToController| to a new {{AbortController}}.
148
148
6. If [=this=].`[[pipeToController]]` is not null, run the following steps:
149
-
1. [=AbortSignal/Add=] the [$chain transform algorithm$] to [=this=].`[[pipeToController]]`.signal.
149
+
1. [=AbortSignal/Add=] the [$chain transform algorithm$] to [=this=].`[[pipeToController]]`'s [=AbortController/signal=].
150
150
2. [=AbortController/signal abort=] on [=this=].`[[pipeToController]]`.
151
151
7. Else, run the [$chain transform algorithm$] steps.
152
152
8. Set [=this=].`[[pipeToController]]` to |newPipeToController|.
153
153
9. Set [=this=].`[[transform]]` to |transform|.
154
154
10. Run the steps in the set of [$association steps$] of |transform| with [=this=].
155
155
156
156
The <dfn abstract-op>chain transform algorithm</dfn> steps are defined as:
157
-
1. If |newPipeToController|.signal is [=AbortSignal/aborted=], abort these steps.
157
+
1. If |newPipeToController|'s [=AbortController/signal=] is [=AbortSignal/aborted=], abort these steps.
4. Assert that |newPipeToController| is the same object as |rtcObject|.`[[pipeToController]]`.
161
161
<!-- FIXME: Use pipeTo algorithm when available. -->
162
-
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|.signal.
163
-
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|.signal.
162
+
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=].
163
+
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=].
164
164
165
165
This algorithm is defined so that transforms can be updated dynamically.
166
166
There is no guarantee on which frame will happen the switch from the previous transform to the new transform.
0 commit comments