Skip to content

Add LiveKit cloud auth to krisp viva plugin - #5914

Merged
lukasIO merged 23 commits into
mainfrom
lukas/krisp-auth
Jul 13, 2026
Merged

Add LiveKit cloud auth to krisp viva plugin#5914
lukasIO merged 23 commits into
mainfrom
lukas/krisp-auth

Conversation

@lukasIO

@lukasIO lukasIO commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

simplified default usage for cloud users now looks like

  await session.start(
        agent=MyAgent(),
        room=ctx.room,
        room_options=room_io.RoomOptions(
            audio_input=room_io.AudioInputOptions(
                noise_cancellation=krisp.KrispVivaFilterFrameProcessor(noise_suppression_level=90)
            ),
        ),
    )

@1egoman 1egoman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me, once this is no longer draft I can take another look and probably approve.

Comment thread livekit-plugins/livekit-plugins-krisp/README.md
Comment thread pyproject.toml Outdated

@1egoman 1egoman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally makes sense to me!

Comment on lines +97 to +111
# To use a Krisp license key + .kef model file instead, supply an explicit
# auth provider:
#
# processor = krisp.KrispVivaFilterFrameProcessor(
# auth_provider=krisp.auth.krisp_license(
# # Both default to env vars KRISP_VIVA_SDK_LICENSE_KEY and
# # KRISP_VIVA_FILTER_MODEL_PATH if omitted.
# license_key="...",
# model_path="/path/to/model.kef",
# ),
# noise_suppression_level=100,
# frame_duration_ms=10,
# sample_rate=16000,
# )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Maybe add a note here that this path is required for use with a non hosted SFU?

Comment thread livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/_krisp.py Outdated
Comment thread livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/_krisp.py Outdated
Comment on lines -40 to -45
# Note: krisp-audio is a required runtime dependency but not available on public PyPI.
# It must be obtained and installed separately from Krisp.
# Install with: pip install krisp-audio (from Krisp's private repository or distribution)
# The plugin handles missing krisp-audio gracefully with ImportError.
# This dependency is declared here for documentation purposes only.
# Since it's not on PyPI, it cannot be listed in dependencies or optional-dependencies.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought: Is it still worth keeping this caveat around, since it's still true for the local SFU krisp plugin path?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should become clear from the README and the krisp-audio package isn't required anymore as it will work ootb with cloud usage

1egoman
1egoman approved these changes Jun 29, 2026
@lukasIO
lukasIO marked this pull request as ready for review July 10, 2026 07:00
@lukasIO
lukasIO requested a review from a team as a code owner July 10, 2026 07:00

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@lukasIO
lukasIO merged commit 69983cd into main Jul 13, 2026
28 checks passed
@lukasIO
lukasIO deleted the lukas/krisp-auth branch July 13, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants