Baseline Widely available
The stream
read-only property of the MediaRecorder
interface returns the stream that was passed into the MediaRecorder()
constructor when the MediaRecorder
was created.
The MediaStream
passed into the MediaRecorder()
constructor when the MediaRecorder
was originally created.
if (navigator.getUserMedia) {
console.log("getUserMedia supported.");
navigator.getUserMedia(
// constraints - only audio needed for this app
{
audio: true,
},
// Success callback
(stream) => {
const mediaRecorder = new MediaRecorder(stream);
const myStream = mediaRecorder.stream;
console.log(myStream);
},
);
}
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3