big-author-39928
08/14/2025, 8:28 AMrefined-appointment-81829
08/14/2025, 11:36 PMuseKrispNoiseFilter hook available that handles enabling/disabling Krisp noise cancellation on local audio tracks.
Important Note
Krisp noise cancellation is only available on LiveKit Cloud, not for self-hosted servers. Additionally, Krisp can be CPU-intensive, so for low-powered devices, you might want to conditionally disable it when CPU constraints are detected. optimizing_video_calls_for_low-powered_devices_in_livekit__j.md:34-36big-author-39928
08/15/2025, 12:19 PMMICROPHONE TRACK {"_constraints": {"autoGainControl": true, "deviceId": "audio", "echoCancellation": true, "noiseSuppression": true, "voiceIsolation": true}, "_currentBitrate": 0, "_events": {"audioTrackFeatureUpdate": [Function anonymous], "cpuConstrained": [Function anonymous], "ended": [[Function anonymous], [Function anonymous]], "muted": [[Function anonymous], [Function anonymous]], "unmuted": [[Function anonymous], [Function anonymous]], "upstreamPaused": [Function anonymous], "upstreamResumed": [Function anonymous]}, "_eventsCount": 7, "_isUpstreamPaused": false, "_maxListeners": 100, "_mediaStreamID": "925D0041-AC6F-4423-9ACF-D3B003AFE2B3", "_mediaStreamTrack": {"_constraints": {"autoGainControl": true, "deviceId": [Object], "echoCancellation": true, "noiseSuppression": true, "voiceIsolation": true}, "_enabled": true, "_muted": false, "_peerConnectionId": undefined, "_readyState": "live", "_settings": {"deviceId": "audio", "groupId": ""}, "id": "925D0041-AC6F-4423-9ACF-D3B003AFE2B3", "kind": "audio", "label": "", "remote": false}, "_sender": {"_id": "925D0041-AC6F-4423-9ACF-D3B003AFE2B3", "_peerConnectionId": 4, "_rtpParameters": [Object], "_track": {"_constraints": [Object], "_enabled": true, "_muted": false, "_peerConnectionId": undefined, "_readyState": "live", "_settings": [Object], "id": "925D0041-AC6F-4423-9ACF-D3B003AFE2B3", "kind": "audio", "label": "", "remote": false}}, "appVisibilityChangedListener": [Function anonymous], "attachedElements": [], "audioContext": undefined, "debouncedTrackMuteHandler": [Function d], "handleEnded": [Function anonymous], "handleKrispNoiseFilterDisable": [Function anonymous], "handleKrispNoiseFilterEnable": [Function anonymous], "handleTrackMuteEvent": [Function anonymous], "handleTrackUnmuteEvent": [Function anonymous], "isInBackground": false, "isKrispNoiseFilterEnabled": false, "isMuted": false, "kind": "audio", "log": {"debug": [Function noop], "disableAll": [Function anonymous], "enableAll": [Function anonymous], "error": [Function bound ], "getLevel": [Function anonymous], "info": [Function noop], "levels": {"DEBUG": 1, "ERROR": 4, "INFO": 2, "SILENT": 5, "TRACE": 0, "WARN": 3}, "log": [Function noop], "methodFactory": [Function defaultMethodFactory], "name": "livekit-track", "rebuild": [Function anonymous], "resetLevel": [Function anonymous], "setDefaultLevel": [Function anonymous], "setLevel": [Function anonymous], "trace": [Function noop], "warn": [Function bound ]}, "loggerContextCb": [Function loggerContextCb], "manuallyStopped": false, "mediaStream": {"_id": "B703E125-FE56-4E67-87BA-060B0BD04726", "_reactTag": "B703E125-FE56-4E67-87BA-060B0BD04726", "_tracks": [[MediaStreamTrack]]}, "monitorSender": [Function anonymous], "muteLock": {"_locking": {"_h": 0, "_i": 1, "_j": undefined, "_k": null}, "_locks": 0}, "pauseUpstreamLock": {"_locking": {"_h": 0, "_i": 3, "_j": [Promise], "_k": null}, "_locks": 0}, "processorLock": {"_locking": {"_h": 0, "_i": 1, "_j": undefined, "_k": null}, "_locks": 0}, "providedByUser": false, "reacquireTrack": false, "restartLock": {"_locking": {"_h": 0, "_i": 1, "_j": undefined, "_k": null}, "_locks": 0}, "sid": "TR_AMEjEBvRPFm22t", "source": "microphone", "stopOnMute": false, "streamState": "active"}big-author-39928
08/15/2025, 12:33 PM