Skip to content

feat(realtime): WebRTC support#8790

Open
richiejp wants to merge 1 commit intomudler:masterfrom
richiejp:feat/webrtc
Open

feat(realtime): WebRTC support#8790
richiejp wants to merge 1 commit intomudler:masterfrom
richiejp:feat/webrtc

Conversation

@richiejp
Copy link
Collaborator

@richiejp richiejp commented Mar 5, 2026

This adds WebRTC support to the realtime API and converts the Talk page to use realtime WebRTC. This has a huge impact on the existing realtime API and requires the inclusion of large libraries like Pion the the Opus codec.

TODO:

  • Handle barge-in from the client speaker
  • Prevent sending back multiple audio streams at once (assuming that is the problem)
  • Replaced buggy Opus-go with libopus using purego binding to avoid CGO.
  • convert to new UI (rebase on master)

@netlify
Copy link

netlify bot commented Mar 5, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit b4fc86f
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69aafdc0421a810008a4391d
😎 Deploy Preview https://deploy-preview-8790--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@richiejp richiejp marked this pull request as ready for review March 6, 2026 14:11
@richiejp richiejp force-pushed the feat/webrtc branch 3 times, most recently from e3f5d65 to 2f88bfb Compare March 6, 2026 15:42
Signed-off-by: Richard Palethorpe <io@richiejp.com>
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.

1 participant