From 5b0cce06d47c8fad02b604b3a47a88593e9ef7d2 Mon Sep 17 00:00:00 2001 From: Fabio <1163915+holofermes@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:29:16 -0500 Subject: [PATCH] Expose Participant.Attributes as a public field (#70) --- Runtime/Scripts/Participant.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/Scripts/Participant.cs b/Runtime/Scripts/Participant.cs index 42ab317..dd0e8ba 100644 --- a/Runtime/Scripts/Participant.cs +++ b/Runtime/Scripts/Participant.cs @@ -2,7 +2,7 @@ using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; -using System.Collections; +using Google.Protobuf.Collections; using LiveKit.Internal; using LiveKit.Proto; using LiveKit.Internal.FFIClients.Requests; @@ -23,6 +23,7 @@ public class Participant public string Identity => _info.Identity; public string Name => _info.Name; public string Metadata => _info.Metadata; + public MapField Attributes => _info.Attributes; public ConnectionQuality ConnectionQuality { internal set; get; } public event PublishDelegate TrackPublished; public event PublishDelegate TrackUnpublished;