-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "Allow createEncodedStreams on PCs without encodedInsertableSt…
…reams param" Change since previous: Reduce number of frames/packets waited for in insertable-streams web test and add it to SlowTests. See Patchset 1 -> Patchset 5 diff. This is a reland of commit e5518aa87b722a83596d1fb2a7506d0ab76f1207 Original change's description: > Allow createEncodedStreams on PCs without encodedInsertableStreams param > > Allow creating Encoded Transforms for any Receivers and Senders, so > long as createEncodedStreams() is called by JS synchronously after > sender/receiver creation. This is achieved by setting up a WebRTC > transform on all transceivers, but "short circuiting" it if JS hasn't > set up its own transform within an event loop spin of creation. This > will make the transform just pass frames to be transformed directly back > without invoking the cost of a thread hop or any JS work. > > The existing behaviour (dropping all frames until a JS transform is > installed) is preserved for PCs created with {encodedInsertableStreams: > true}. > > This implements the algorithm defined in https://www.w3.org/TR/2023/WD-webrtc-encoded-transform-20231012/#stream-creation, > but for the Chromium createEncodedStreams() method, improving > conformance incrementally. > > > Bug: 1502781 > Change-Id: Ie36d8ed8f431afa97307030646d3b207bf14cf7a > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5040731 > Commit-Queue: Tony Herre <[email protected]> > Reviewed-by: Guido Urdaneta <[email protected]> > Reviewed-by: Harald Alvestrand <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1230611} Bug: 1502781 Change-Id: I70b366f375e1b6c8e90567f5c994423fd738c8fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077034 Reviewed-by: Guido Urdaneta <[email protected]> Commit-Queue: Tony Herre <[email protected]> Cr-Commit-Position: refs/heads/main@{#1231330}
- Loading branch information
1 parent
0b3dc93
commit 37fc071
Showing
4 changed files
with
67 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters