Skip to content

New endpoint customize callback to provide settings dynamically#25

Merged
lminiero merged 2 commits intomainfrom
endpoint-callback
Feb 10, 2026
Merged

New endpoint customize callback to provide settings dynamically#25
lminiero merged 2 commits intomainfrom
endpoint-callback

Conversation

@lminiero
Copy link
Copy Markdown
Member

This PR adds some dynamicity to endpoints creation. While you can still provide endpoint properties statically (e.g., room to join, label to use as display, RTP forwarding recipients, etc.), you can now also provide a customize callback function, where you can provide these properties dynamically any time a new publisher contacts an endpoint. This can be useful to, e.g., send different publishers of the same endpoint to different rooms, or configure different RTP forwarders for each publisher, and things like that. The PR comes with a basic example (server-dynamic) that shows it being used to customize the label.

@lminiero lminiero merged commit 0f4061f into main Feb 10, 2026
@lminiero lminiero deleted the endpoint-callback branch February 10, 2026 09:32
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