Skip to content

Commit f217355

Browse files
authored
Mention that worklets were considered
1 parent 529f012 commit f217355

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

explainer.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,19 @@ adequate for real-time processing; the streaming part is not contributing
255255
very much to slowing down the pipelines.
256256

257257
## Alternatives to Streams ##
258-
The alternatives involve callback-based or event-based interfaces; those
258+
One set of alternatives involve callback-based or event-based interfaces; those
259259
would require developing new interfaces that allow the relevant WebRTC
260260
objects to be visible in the worker context in order to do processing off
261261
the main thread. This would seem to be a significantly bigger specification
262262
and implementation effort.
263263

264+
Another path would involve specifying a worklet API, similar to the AudioWorklet,
265+
and specifying new APIs for connecting encoders and decoders to such worklets.
266+
This also seemed to involve a significantly larger set of new interfaces, with a
267+
correspondingly larger implementation effort, and would offer less flexibility
268+
in how the processing elements could be implemented.
269+
270+
264271

265272

266273

0 commit comments

Comments
 (0)