diff --git a/README.md b/README.md index 684402f13..b7ca5023d 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ So you don't have to copy paste common content multiple times. ## 🥵 Components Components is what makes this docs standout -All Components mentioned are already auto imported so you don't need to do them. +All Components mentioned are auto imported. Here's some of them added and can be easily added: diff --git a/docs/javascript/v2/how-to-guides/extend-capabilities/plugins/krisp-noise-cancellation.mdx b/docs/javascript/v2/how-to-guides/extend-capabilities/plugins/krisp-noise-cancellation.mdx index d3a73c82a..41c75ed6b 100644 --- a/docs/javascript/v2/how-to-guides/extend-capabilities/plugins/krisp-noise-cancellation.mdx +++ b/docs/javascript/v2/how-to-guides/extend-capabilities/plugins/krisp-noise-cancellation.mdx @@ -12,6 +12,8 @@ This guide provides an overview of usage of the noise suppression plugin of 100m ## Pre-requisites +Minimum version requirement for `hms-video-store` - 0.11.7 + **Get the 100ms noise cancellation Package** ```bash section=GetHMSNoiseCancellationPackage sectionIndex=1 @@ -53,7 +55,7 @@ const plugin = new HMSKrispPlugin(); // check if audio track is available const localAudioTrack = hmsStore.getState(selectLocalAudioTrackID); let inProgress = false; -hmsStore.subscribe((isPluginAdded) => { +hmsStore.subscribe(async (isPluginAdded) => { if(!isPluginAdded && !inProgress) { inProgress = true; await hmsActions.addPluginToAudioTrack(plugin);