3 ms·
Looking at the code, the extension listens for `streamID` messages that are emitted whenever a user plays media in the browser[0]. It then captures the audio pl
by bertman 2y ago
Looking at the code, the extension listens for `streamID` messages that are emitted whenever a user plays media in the browser[0]. It then captures the audio playback using the `MediaRecorder` interface [1] and sends the audio to the developer's backend server (wss://scrix.molyz.app/websocket) via WebSocket connection where it gets transcribed.
[0]:https://developer.chrome.com/docs/extensions/mv2/reference/tabCapture#stream-ids https://developer.chrome.com/docs/extensions/mv2/reference/t...
[1]:https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder https://developer.mozilla.org/en-US/docs/Web/API/MediaRecord...