Where do encoderWorker.min.js / decoderWorker.min.js come from?
Hi, thanks again for this! Trying to find source of encoderWorker.min.js and decoderWorker.min.js.
Is it:
- https://github.com/chris-rudmin/opus-recorder or
- https://github.com/zhukov/opus-recorder or from somewhere else?
Looks generated, possibly from one of the above. Would be nice to have a few docs about + automation/build script to import/sync this library. Would be good to repro from its source in case of updates, bugfixes, etc.
I found the unminified digging through PRs but it didn't help much: https://raw.githubusercontent.com/security-union/videocall-rs/959def70da6ea9cb376e088f0d873810bab80120/yew-ui/scripts/encoderWorker.js
Thank you!
P.S. This error message in browser console prompted me to ask about this (I think when switching audio sources in meeting/preview):
Stopping Microphone audio encoder
videocall-ui-5a1ead9940d11707.js:839 Microphone audio encoder stopped and cleaned up
encoderWorker.min.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')
at MessagePort.<anonymous> (encoderWorker.min.js:1:384754)
... but this doesn't occur every time switching audio devices.
Hey @tgrushka it comes from https://github.com/security-union/videocall-rs/pull/116
I will checkin the code to a different repo and add it as a submodule, ese github thinks that videocall.rs is majority Javascript XD
What do you think?