From 8aec29292d05266c2e9d8b22564347748470f79d Mon Sep 17 00:00:00 2001 From: Palak Agarwal Date: Tue, 5 Sep 2023 14:51:43 +0200 Subject: [PATCH] Remove restriction on streams being limited to only one PC --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 81fa054..aa5dc84 100644 --- a/index.bs +++ b/index.bs @@ -121,7 +121,7 @@ The readEncodedData algorithm is given a |rtcObject| as p 1. [=ReadableStream/Enqueue=] |frame| in |rtcObject|.`[[readable]]`. The writeEncodedData algorithm is given a |rtcObject| as parameter and a |frame| as input. It is defined by running the following steps: -1. If |frame|.`[[owner]]` is not equal to |rtcObject|, abort these steps and return [=a promise resolved with=] undefined. A processor cannot create frames, or move frames between streams. +1. If |frame|.`[[owner]]` is not equal to |rtcObject|, skip to step 4. In this case, either frames were created or moved between streams. 1. If |frame|.`[[counter]]` is equal or smaller than |rtcObject|.`[[lastReceivedFrameCounter]]`, abort these steps and return [=a promise resolved with=] undefined. A processor cannot reorder frames, although it may delay them or drop them. 1. Set |rtcObject|.`[[lastReceivedFrameCounter]]` to |frame|`[[counter]]`. 1. Let |data| be |frame|.`[[data]]`.