livekit / client-sdk-unity

Official Unity SDK for LiveKit
https://livekit.io
40 stars 15 forks source link

Fixes bugs with metadata and rpc #64

Closed CalinR closed 4 days ago

CalinR commented 4 days ago

I found two issues when testing this in a unity project

  1. _rpcHandlers needs to be protected because it is used in a class that inherits Participant
  2. We need to set metadata on the participant before invoking metadataChanged otherwise we do not get the updated metadata in the callback.