- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Nov 2023 18:11:01 +0000
- To: public-webrtc-logs@w3.org
Web developers only deal with [RTCRtpScriptTransform](https://w3c.github.io/webrtc-encoded-transform/#rtcrtpscripttransform) and [SFrameTransform](https://w3c.github.io/webrtc-encoded-transform/#sframetransform), so it seems too late to change those names. RTCRtpScriptTransformer has no constructor, and is simply the type of the `transformer` property of the `"rtctransform"` event. [E.g.](https://jsfiddle.net/jib1/wb2c0hr1/) ```js onrtctransform = async ({transformer: {readable, writable, options}}) => { ``` No `instanceof` check is needed, making it's name largely irrelevant in practice, so I think it's name is fine. -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/216#issuecomment-1832453704 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 29 November 2023 18:11:03 UTC