You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Warning: (ae-forgotten-export) The symbol "FeatureContext" needs to be exported by the entry point index.d.ts
834
+
// Warning: (ae-forgotten-export) The symbol "FeatureContext" needs to be exported by the entry point index.docs.d.ts
833
835
// Warning: (ae-internal-missing-underscore) The name "useFeatureContext" should be prefixed with an underscore because the declaration is marked as @internal
834
836
//
835
837
//@internal (undocumented)
@@ -887,6 +889,21 @@ export function useIsRecording(room?: Room): boolean;
@@ -1316,11 +1333,11 @@ export type WidgetState = {
1316
1333
1317
1334
// Warnings were encountered during analysis:
1318
1335
//
1319
-
// src/context/layout-context.ts:10:3 - (ae-forgotten-export) The symbol "PinContextType" needs to be exported by the entry point index.d.ts
1320
-
// src/context/layout-context.ts:11:3 - (ae-forgotten-export) The symbol "WidgetContextType" needs to be exported by the entry point index.d.ts
1321
-
// src/hooks/useGridLayout.ts:27:6 - (ae-forgotten-export) The symbol "GridLayoutInfo" needs to be exported by the entry point index.d.ts
1322
-
// src/hooks/useMediaDeviceSelect.ts:47:29 - (ae-forgotten-export) The symbol "SetMediaDeviceOptions" needs to be exported by the entry point index.d.ts
1323
-
// src/hooks/useTrackTranscription.ts:43:38 - (ae-forgotten-export) The symbol "ReceivedTranscriptionSegment" needs to be exported by the entry point index.d.ts
1336
+
// src/context/layout-context.ts:10:3 - (ae-forgotten-export) The symbol "PinContextType" needs to be exported by the entry point index.docs.d.ts
1337
+
// src/context/layout-context.ts:11:3 - (ae-forgotten-export) The symbol "WidgetContextType" needs to be exported by the entry point index.docs.d.ts
1338
+
// src/hooks/useGridLayout.ts:27:6 - (ae-forgotten-export) The symbol "GridLayoutInfo" needs to be exported by the entry point index.docs.d.ts
1339
+
// src/hooks/useMediaDeviceSelect.ts:47:29 - (ae-forgotten-export) The symbol "SetMediaDeviceOptions" needs to be exported by the entry point index.docs.d.ts
1340
+
// src/hooks/useTrackTranscription.ts:43:38 - (ae-forgotten-export) The symbol "ReceivedTranscriptionSegment" needs to be exported by the entry point index.docs.d.ts
1324
1341
1325
1342
// (No @packageDocumentation comment for this package)
Copy file name to clipboardExpand all lines: packages/react/src/hooks/cloud/krisp/useKrispNoiseFilter.ts
+19-14
Original file line number
Diff line number
Diff line change
@@ -6,33 +6,38 @@ import type { TrackReferenceOrPlaceholder } from '@livekit/components-core';
6
6
import{useLocalParticipant}from'../../..';
7
7
8
8
/**
9
-
* @alpha
9
+
* @beta
10
10
*/
11
11
exportinterfaceuseKrispNoiseFilterOptions{
12
12
/**
13
-
* by default the hook will use the localParticipant's microphone track publication.
14
-
* You can override this behavior by passing in a target TrackReference here
13
+
* The track reference to use for the noise filter (defaults: local microphone track)
15
14
*/
16
15
trackRef?: TrackReferenceOrPlaceholder;
16
+
/**
17
+
* @internal
18
+
*/
17
19
filterOptions?: NoiseFilterOptions;
18
20
}
19
21
20
22
/**
21
-
* This hook is a convenience helper for enabling Krisp Enhanced Audio Noise Cancellation on LiveKit audio tracks.
22
-
* It returns a `setNoiseFilterEnabled` method to conveniently toggle between enabled and disabled states.
23
+
* Enable the Krisp enhanced noise cancellation feature for local audio tracks.
24
+
*
25
+
* Defaults to the localParticipant's microphone track publication, but you can override this behavior by passing in a different track reference.
23
26
*
24
-
* @remarks Krisp noise filter is a feature that's only supported on LiveKit cloud plans
25
-
* @alpha
27
+
* @package \@livekit/components-react/krisp
28
+
* @remarks This filter requires that you install the `@livekit/krisp-noise-filter` package and is supported only on {@link https://cloud.livekit.io | LiveKit Cloud}.
0 commit comments