Operator can now delegate its infra_config values. - #3161
Merged
Merged
Conversation
0405ysj
reviewed
Sep 10, 2026
3405691582
force-pushed
the
operator_delegation
branch
2 times, most recently
from
September 10, 2026 14:47
305f4d1 to
0739e50
Compare
3405691582
force-pushed
the
operator_delegation
branch
2 times, most recently
from
September 10, 2026 14:58
3771d78 to
3d93a14
Compare
0405ysj
approved these changes
Sep 10, 2026
3405691582
force-pushed
the
operator_delegation
branch
from
September 10, 2026 15:52
3d93a14 to
818d2a8
Compare
Instead of statically allocating the output of the infra_config handler, we allow the operator to optionally delegate its contents to a sidecar command that can supply the values returned by this handler. This means that if a user wishes to supply alternate STUN or TURN servers for running webRTC, it can do so. Why not a static configuration loaded from a file? For TURN for example, the credential returned from the TURN server may have a limited TTL, so we need to be able to request the TURN credential on-demand. We default however to letting the operator set the credential TTL for the moment, and may revisit that behavior in the future. If the delegate is specified and fails for whatever reason, then we fall back to the existing, static configuration so as not to break existing clients. TURN support is particularly useful, since it means that large port-forward ranges are no longer necessary.
3405691582
force-pushed
the
operator_delegation
branch
from
September 10, 2026 15:53
818d2a8 to
1fac4dc
Compare
ser-io
requested changes
Sep 10, 2026
ser-io
self-requested a review
September 10, 2026 18:22
ser-io
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of statically allocating the output of the infra_config handler, we allow the operator to optionally delegate its contents to a sidecar command that can supply the values returned by this handler. This means that if a user wishes to supply alternate STUN or TURN servers for running webRTC, it can do so.
Why not a static configuration loaded from a file? For TURN for example, the credential returned from the TURN server may have a limited TTL, so we need to be able to request the TURN credential on-demand. We default however to letting the operator set the credential TTL for the moment, and may revisit that behavior in the future.
If the delegate is specified and fails for whatever reason, then we fall back to the existing, static configuration so as not to break existing clients.
TURN support is particularly useful, since it means that large port-forward ranges are no longer necessary.