mirror of
https://github.com/livekit/livekit.git
synced 2026-12-05 06:58:09 +00:00
Replace the sender oneof with the three DataPacket fields from the protocol,
and drop the protocol 20 bump: receivers tell an old SFU apart by
data_stream_actual_sender_overwritten being false.
Every forwarded packet now has data_stream_actual_sender_overwritten set and
the other two fields overwritten. When the SFU keeps a participant_identity
that isn't the sender's (an agent's text stream header or chat message, and
now also an agent's encrypted packet, whose payload can't be inspected),
data_stream_sending_on_behalf is set and data_stream_actual_sender_identity
names the agent ("" if hidden). Otherwise both are cleared.