Files
Ryan Gaus f6d3fdcc3d Record on-behalf-of and actual sender identities, gated by protocol 20
Replace the per-packet overwritten flag with a protocol bump to 20: clients
check the server protocol to know these fields are set when needed.

participant_identity is now handled exactly as on master for every payload,
so older clients see no change. In particular an agent's encrypted packet
naming another participant still gets the agent's identity, so encrypted
packets can't be used to impersonate anyone to clients that don't read the
new fields.

The SFU clears data_stream_on_behalf_of_identity and
data_stream_actual_sender_identity on every packet, and sets them when an
agent sends a text stream header, chat message or encrypted packet on behalf
of another participant (actual sender "" for a hidden agent).
2026-11-30 08:07:55 +13:00
..