simple-whip-server icon indicating copy to clipboard operation
simple-whip-server copied to clipboard

New endpoint customize callback to provide settings dynamically

Open lminiero opened this issue 2 months ago • 0 comments

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 avatar Oct 15 '25 14:10 lminiero