W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2021

Re: [mediacapture-insertable-streams] Is using ReadableStream/WritableStream the right approach? (#4)

From: guidou via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Feb 2021 19:04:01 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-776168847-1612897440-sysbot+gh@w3.org>
I think separating readable/writable to allow implementation of custom sources, sinks and allowing transformations provides more flexibility than the transform-only approach. It's also easy to understand in terms of the familiar source-track-sink model.
It also allows flexibility with regards to workers.
Its only disadvantage would be running on the main thread by default, but I don't think this is a major issue. Experience in the field shows that the main thread can work fine for many use cases, and moving to workers is easy as well.

-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-insertable-streams/issues/4#issuecomment-776168847 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 February 2021 19:04:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:53 UTC