MediaStreamTrackProcessor: readable-Eigenschaft
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Die readable
-Eigenschaft der MediaStreamTrackProcessor
-Schnittstelle gibt einen ReadableStream
zurück.
Wert
Ein ReadableStream
.
Beispiele
Im folgenden Beispiel werden Videoframes aus dem ReadableStream
transformiert.
js
const trackProcessor = new MediaStreamTrackProcessor({ track: videoTrack });
const trackGenerator = new MediaStreamTrackGenerator({ kind: "video" });
/* */
trackProcessor.readable
.pipeThrough(transformer)
.pipeTo(trackGenerator.writable);
Spezifikationen
Specification |
---|
MediaStreamTrack Insertable Media Processing using Streams # dom-mediastreamtrackprocessor-readable |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
readable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.