Skip to content

Commit f1f72eb

Browse files
authored
Merge pull request #219 from youennf/remove-unneeded-owner-slots
Readable and Writable [[owner]] slots are unused
2 parents 32f00c2 + 4cddec4 commit f1f72eb

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

index.bs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,13 @@ argument, ensure that the codec is disabled and produces no output.
8484
### Stream creation ### {#stream-creation}
8585

8686
At construction of each {{RTCRtpSender}} or {{RTCRtpReceiver}}, run the following steps:
87-
2. Initialize [=this=].`[[transform]]` to null.
88-
3. Initialize [=this=].`[[readable]]` to a new {{ReadableStream}}.
89-
4. <a dfn for="ReadableStream">Set up</a> [=this=].`[[readable]]`. [=this=].`[[readable]]` is provided frames using the [$readEncodedData$] algorithm given |this| as parameter.
90-
5. Set [=this=].`[[readable]]`.`[[owner]]` to |this|.
91-
6. Initialize [=this=].`[[writable]]` to a new {{WritableStream}}.
92-
7. <a dfn for="WritableStream">Set up</a> [=this=].`[[writable]]` with its [=WritableStream/set up/writeAlgorithm=] set to [$writeEncodedData$] given |this| as parameter and its [=WritableStream/set up/highWaterMark=] set to <code>Infinity</code>.
87+
1. Initialize [=this=].`[[transform]]` to null.
88+
1. Initialize [=this=].`[[readable]]` to a new {{ReadableStream}}.
89+
1. <a dfn for="ReadableStream">Set up</a> [=this=].`[[readable]]`. [=this=].`[[readable]]` is provided frames using the [$readEncodedData$] algorithm given |this| as parameter.
90+
1. Initialize [=this=].`[[writable]]` to a new {{WritableStream}}.
91+
1. <a dfn for="WritableStream">Set up</a> [=this=].`[[writable]]` with its [=WritableStream/set up/writeAlgorithm=] set to [$writeEncodedData$] given |this| as parameter and its [=WritableStream/set up/highWaterMark=] set to <code>Infinity</code>.
9392
<p class="note">highWaterMark is set to Infinity to explicitly disable backpressure.</p>
94-
8. Set [=this=].`[[writable]]`.`[[owner]]` to |this|.
95-
9. Initialize [=this=].`[[pipeToController]]` to null.
93+
1. Initialize [=this=].`[[pipeToController]]` to null.
9694
1. Initialize [=this=].`[[lastReceivedFrameCounter]]` to <code>0</code>.
9795
1. Initialize [=this=].`[[lastEnqueuedFrameCounter]]` to <code>0</code>.
9896
1. [=Queue a task=] to run the following steps:

0 commit comments

Comments
 (0)