# valm > TypeScript library for managing local media streams in the browser: camera, microphone, screen share, recording, speech-to-text transcription, and video effects (background blur / virtual background). One framework-agnostic API over MediaStream, with a plugin system that keeps heavy ML dependencies optional. npm package: `valm-js`. - Homepage: https://valm-js.web.app - Docs: https://valm-js.web.app/docs - npm: https://www.npmjs.com/package/valm-js - GitHub: https://github.com/Vlad92msk/valm-js - Full documentation as one file: https://valm-js.web.app/llms-full.txt - Per-page raw markdown: https://valm-js.web.app/llms/.md (same content, no HTML) Dig deeper (machine-readable, no JS): - Latest version & package metadata (JSON): https://registry.npmjs.org/valm-js - Source README (raw markdown): https://raw.githubusercontent.com/Vlad92msk/valm-js/master/packages/valm/README.md - Full source code: https://github.com/Vlad92msk/valm-js (browse raw files via raw.githubusercontent.com) ## Getting Started - [Getting Started](https://valm-js.web.app/docs/getting-started): The speaker's voice is translated into the chosen language and the translation replaces the microphone in the published track. ## Core - [Camera](https://valm-js.web.app/docs/camera): Managing the video camera: enabling/disabling, switching devices, previewing, obtaining the track. - [Microphone](https://valm-js.web.app/docs/microphone): Managing the microphone: enabling/disabling, soft mute, switching devices, audio processing, voice detection, previewing. - [Screen Share](https://valm-js.web.app/docs/screen-share): Managing screen sharing: start/stop, surface configuration, resolution, FPS, audio. - [Devices](https://valm-js.web.app/docs/devices): Managing the device list, selecting a speaker, and handling device disconnection. - [Permissions](https://valm-js.web.app/docs/permissions): Checking and requesting access permissions for the camera and microphone. - [Configuration](https://valm-js.web.app/docs/configuration): Centralized configuration management: reading by section, updating, resetting to defaults, import/export. ## Effects - [Effects](https://valm-js.web.app/docs/effects): Managing video effects: background blur, virtual background, custom effects, processing quality. - [Audio Effects](https://valm-js.web.app/docs/audio-effects): ML-based processing of microphone audio (noise suppression, etc.) as a pluggable plugin — modeled on EffectsPlugin for video. - [Custom Effects](https://valm-js.web.app/docs/custom-effects): A guide to building your own video effects: from simple filters to ML-based effects. - [Voice Translate](https://valm-js.web.app/docs/voice-translate): Translates the speaker's voice into another language right in the browser. ## Advanced - [Events](https://valm-js.web.app/docs/events): Valm extends TypedEventEmitter — every subscription returns an unsubscribe function: - [Plugins](https://valm-js.web.app/docs/plugins): Plugins extend Valm without bloating the core. - [Recording](https://valm-js.web.app/docs/recording): Managing media recording: start/stop/pause, formats, limits, chunks, saving utilities. - [Transcription](https://valm-js.web.app/docs/transcription): Speech-to-text transcription based on the Web Speech API. - [PCM Capture](https://valm-js.web.app/docs/pcm-capture): An audio-graph node that turns any audio input into a stream of mono PCM16 at the rate you need, in fixed-length chunks, with the loudness (RMS) of each chunk. - [Diagnostics](https://valm-js.web.app/docs/diagnostics): A single pre-call diagnostic flow: checks the browser, permissions, camera, microphone and speaker in one call and returns a ready report. - [Utilities](https://valm-js.web.app/docs/utilities): Helper tools for platform detection and voice activity detection.