mganeko / browser_mcu_core Goto Github PK
View Code? Open in Web Editor NEWBrowser MCU Core library for mixing video/audio
License: MIT License
Browser MCU Core library for mixing video/audio
License: MIT License
I'm fascinated by this project. You're a superhero to me.
I'm running the demo in conference mode for fun and science, and it really works fantastic with video, just failing to work out the AUDIO_MODE_MINUS_ONE
handling. The theory is clear, and we're passing peerIds different from stream.id, but I can't get mixed audio back to the clients from mcu.getMixStream();
Could you perhaps clarify a detail from the prepareMinusOneStream
example:
let id1 = 'member1';
let mixStream1 = mcu.prepareMinusOneStream(id1);
mcu.addRemoteVideo(remoteStream1);
mcu.addRemoteAudioMinusOne(id1, remoteStream1);
let id2 = 'member2';
let mixStream2 = mcu.prepareMinusOneStream(id2);
mcu.addRemoteVideo(remoteStream2);
mcu.addRemoteAudioMinusOne(id2, remoteStream2);
I understand from here on, we're always using the ID to refer to mixed streams, but are the mixStream1
and mixStream2
variables used or needed anywhere afterwards?
Thanks for sharing this entertaining code!
Why 36 ?
Is that an aribtrary limit you put ?
Would be great if you can publish a ready to test/benchmark product like a MCU or SFU server.
Looks very promising for now
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.