Skip to content

Make WebRTC optional and allow configuring TURN servers - #830

Merged
hanzi merged 1 commit into
40Cakes:mainfrom
hanzi:optional-webrtc-and-turn
Sep 30, 2026
Merged

hanzi merged 1 commit into
40Cakes:mainfrom
hanzi:optional-webrtc-and-turn

Conversation

@hanzi

@hanzi hanzi commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Description

With this change, WebRTC is no longer enabled by default, and its dependency is not being installed either.

That removes the need to install all kinds of A/V stuff if the user does not even use that.

Also, this adds support for TURN servers. WebRTC is a peer-to-peer service, so if the bot is running in a Docker container or behind some sort of NAT and the user is not in the same network, a relaying service is required. That's TURN.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

With this change, WebRTC is no longer enabled by default, and its dependency is not being installed either.

That removes the need to install all kinds of A/V stuff if the user does not even use that.

Also, this adds support for TURN servers. WebRTC is a peer-to-peer service, so if the bot is running in a Docker container or behind some sort of NAT and the user is not in the same network, a relaying service is required. That's TURN.
@hanzi
hanzi merged commit e1848fb into 40Cakes:main Sep 30, 2026
1 check passed
@hanzi
hanzi deleted the optional-webrtc-and-turn branch September 30, 2026 03:50
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