@@ -211,18 +211,17 @@ The <dfn attribute for="RTCRtpSender,RTCRtpReceiver">transform</dfn> getter step
211
211
1. Return [=this=] .`[[transform]] `.
212
212
213
213
The `transform` setter steps are:
214
- 1. Let |rtcObject| be the {{RTCRtpReceiver}} or {{RTCRtpSender}} on which the setter is invoked.
215
214
2. Let |transform| be the argument to the setter.
216
215
3. Let |checkedTransform| set to |transform| if it is not null or to an [=identity transform stream=] otherwise.
217
216
3. Let |reader| be the result of [=ReadableStream/getting a reader=] for |checkedTransform|.`[[readable]] `.
218
217
4. Let |writer| be the result of [=WritableStream/getting a writer=] for |checkedTransform|.`[[writable]] `.
219
218
5. Initialize |newPipeToController| to a new {{AbortController}} .
220
- 6. If |rtcObject| .`[[pipeToController]] ` is not null, run the following steps:
221
- 1. [=AbortSignal/Add=] the [=chain transform algorithm=] to |rtcObject| .`[[pipeToController]] `:
222
- 2. [=AbortSignal/signal abort=] |rtcObject| .`[[pipeToController]] `.
219
+ 6. If [=this=] .`[[pipeToController]] ` is not null, run the following steps:
220
+ 1. [=AbortSignal/Add=] the [=chain transform algorithm=] to [=this=] .`[[pipeToController]] `.signal.
221
+ 2. [=AbortSignal/signal abort=] [=this=] .`[[pipeToController]] `.signal .
223
222
7. Else, run the [=chain transform algorithm=] steps.
224
- 8. Set |rtcObject| .`[[pipeToController]] ` to |newPipeToController|.
225
- 9. Set |rtcObject| .`[[transform]] ` to |transform|.
223
+ 8. Set [=this=] .`[[pipeToController]] ` to |newPipeToController|.
224
+ 9. Set [=this=] .`[[transform]] ` to |transform|.
226
225
227
226
The <dfn>chain transform algorithm</dfn> steps are defined as:
228
227
1. If |newPipeToController|'s [=AbortSignal/aborted flag=] is true, abort these steps.
0 commit comments