mirror of
https://github.com/livekit/livekit.git
synced 2026-04-28 06:15:47 +00:00
262b160464
Moving handling of migrated tracks to when the migration state moves to completed. Pending data channel were already happening only on complete. Move tracks also to that point. Handling it earlier meant that track published callback happened and ownership of track moved to new node before the new node could finish peer connection. So, in cases where migration did not go through, this caused confusion of track ownership.