mediastream-to-webm icon indicating copy to clipboard operation
mediastream-to-webm copied to clipboard

Convert MediaStreams to live WebM streams.

Results 5 mediastream-to-webm issues
Sort by recently updated
recently updated
newest added

I am trying to create a .webm file locally but when I try to play it it will not work. var fs = require('fs'); window.name = 'popup'; function onTabStream(stream) {...

``` navigator.mediaDevices.getUserMedia({ video: true, audio: true }) .then((stream) => { let video = document.getElementById('video'); encodedStream = EncodedStream(stream, { mimeType: 'video/webm;codecs=opus,vp8;' }); decodedStream = DecodedStream({ videoElement: video, mimeType: 'video/webm;codecs=opus,vp8;' }); encodedStream.on('data',...

bug
upstream/browser

Do you got any working example (server and client side) so I can see that? I'm not sure from the docs how to use this and where to use it.

question

How to replicate: ```Javascript const mtw = require('mediastream-to-webm); navigator.mediaDevices.getUserMedia({ video: true, audio: true}).then(stream => { let encodedStream = mtw.EncodedStream(stream); encodedStream.on('data', (data) => { console.log(data); }); }); ``` then minimize your...

bug

The ability to decode the webm stream in NodeJS serverside would be useful. This would allow me to pipe the data directly to an output webm file.

enhancement