Skip to content

Commit 70c461b

Browse files
author
guest271314
authored
Substitute readable for readbaleStream, writable for writableStream
Fixes #40
1 parent 1f74f3f commit 70c461b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ insert the processing into the pipeline.
8080
<pre class="idl">
8181
// New dictionary.
8282
dictionary RTCInsertableStreams {
83-
ReadableStream readableStream;
84-
WritableStream writableStream;
83+
ReadableStream readable;
84+
WritableStream writable;
8585
};
8686

8787
// New enum for video frame types. Will eventually re-use the equivalent defined
@@ -158,8 +158,8 @@ called, run the following steps:
158158
* If the data source does not permit access, throw an {{InvalidAccessError}} and abort these steps.
159159
* If [[\Streams]] is not null, throw an {{InvalidStateError}}.
160160
* Create an {{RTCInsertableStreams}} object 's'.
161-
* Set s.readableStream to a ReadableStream representing the encoded data source.
162-
* Set s.writableStream to a WritableStream representing the encoded data sink.
161+
* Set s.readable to a ReadableStream representing the encoded data source.
162+
* Set s.writable to a WritableStream representing the encoded data sink.
163163
* Enable the encoded data source.
164164
* Store 's' in the internal slot [[\Streams]].
165165
* Return 's'
@@ -169,7 +169,7 @@ called, run the following steps:
169169
When a frame is produced from the encoded data source, place it on the
170170
[[\Streams]].readableStream'.
171171

172-
When a frame appears on the [[\Streams]].writableStream, do the following:
172+
When a frame appears on the [[\Streams]].writable, do the following:
173173
* Check that the frame is a a valid frame that has been created by the encoded data source; if it is not, discard it. A processor cannot create frames, or move frames between streams.
174174
* Check that the frame's {{RTCEncodedVideoFrame/timestamp}} is equal to or larger than any previously received frame. A processor cannot reorder frames, although it may delay them or drop them.
175175
* Process the frame as if it came directly from the encoded data source.

0 commit comments

Comments
 (0)