How can I check if noise cancellation is enabled?
# ask-ai
c
How can I check if noise cancellation is enabled?
t
Thanks for reaching out, Florent. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To check if noise cancellation is enabled in LiveKit, you can follow these steps depending on your use case: • For incoming calls: Check the
krisp_enabled
attribute in your inbound trunk configuration. You can view this by listing inbound trunks using the
ListSIPInboundTrunk
API. • For outgoing calls: Verify if the
krisp_enabled
attribute was set to true when the call was created using the
CreateSIPParticipant
API. • Using the React SDK: Utilize the
useKrispNoiseFilter
hook, which provides an
isNoiseFilterEnabled
boolean to indicate whether noise cancellation is currently enabled. If you need further assistance, feel free to ask! Sources: SIP inbound trunk | LiveKit Docs | SIP overview | LiveKit Docs | useKrispNoiseFilter | React Components | LiveKit Docs
c
Why is it only for calls?
t
Noise cancellation in LiveKit is primarily implemented for calls using Krisp technology, as outlined in the documentation. However, the sources do not specify why it is limited to calls. It is worth noting that noise cancellation features may also be available on other platforms or implementations, such as web, mobile, and server-side setups, depending on your use case. If you have a specific scenario in mind, feel free to share more details, and I can assist further!