Skip to content

Commit 5b0cce0

Browse files
authored
Expose Participant.Attributes as a public field (#70)
1 parent 11256dc commit 5b0cce0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtime/Scripts/Participant.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Linq;
33
using System.Collections.Generic;
44
using System.Threading.Tasks;
5-
using System.Collections;
5+
using Google.Protobuf.Collections;
66
using LiveKit.Internal;
77
using LiveKit.Proto;
88
using LiveKit.Internal.FFIClients.Requests;
@@ -23,6 +23,7 @@ public class Participant
2323
public string Identity => _info.Identity;
2424
public string Name => _info.Name;
2525
public string Metadata => _info.Metadata;
26+
public MapField<string, string> Attributes => _info.Attributes;
2627
public ConnectionQuality ConnectionQuality { internal set; get; }
2728
public event PublishDelegate TrackPublished;
2829
public event PublishDelegate TrackUnpublished;

0 commit comments

Comments
 (0)