Skip to content

Commit 914eed4

Browse files
authored
Merge pull request #108 from youennf/specify-ready-promise-behavior
Define writable readyPromise handling
2 parents f8dc25b + 8748755 commit 914eed4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ At construction of each {{RTCRtpSender}} or {{RTCRtpReceiver}}, run the followin
9797
4. <a dfn for="ReadableStream">Set up</a> [=this=].`[[readable]]`. [=this=].`[[readable]]` is provided frames using the [=readEncodedData=] algorithm given |this| as parameter.
9898
5. Set [=this=].`[[readable]]`.`[[owner]]` to |this|.
9999
6. Initialize [=this=].`[[writable]]` to a new {{WritableStream}}.
100-
7. <a dfn for="WritableStream">Set up</a> [=this=].`[[writable]]` with its [=WritableStream/set up/writeAlgorithm=] set to [=writeEncodedData=] given |this| as parameter.
100+
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/sizeAlgorithm=] to an algorithm that returns <code>0</code>.
101+
<p class="note">Chunk size is set to 0 to explictly disable streams backpressure on the write side.</p>
101102
8. Set [=this=].`[[writable]]`.`[[owner]]` to |this|.
102103
9. Initialize [=this=].`[[pipeToController]]` to null.
103104
1. Initialize [=this=].`[[lastReceivedFrameCounter]]` to <code>0</code>.

0 commit comments

Comments
 (0)