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

```webidl
interface VideoTrackReader {
  constructor(MediaStreamTrack track);
  void start(OutputCallback callback);
  void stop();
};
```

At the time `VideoTrackWriter` was abandoned it was (still) using a `WritableStream`, so it looked very much like `MediaStreamTrackGenerator` does now. It had been proposed to switch to a `write()` method but this was never implemented:
```webidl
interface VideoTrackWriter {
  constructor(VideoTrackWriterInit init);
  readonly attribute MediaStreamTrack track;
  void write(VideoFrame frame);
};
```

I will review the discussion leading to the abandonment. My recollection is that the Insertable Streams proposal was developed in parallel, and it was uncontroversial to defer to WebRTC experts for `MediaStream` integration.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 June 2021 18:27:24 UTC