Skip to content

Commit

Permalink
Expose Participant.Attributes as a public field (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
holofermes authored Dec 24, 2024
1 parent 11256dc commit 5b0cce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Runtime/Scripts/Participant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -23,6 +23,7 @@ public class Participant
public string Identity => _info.Identity;
public string Name => _info.Name;
public string Metadata => _info.Metadata;
public MapField<string, string> Attributes => _info.Attributes;
public ConnectionQuality ConnectionQuality { internal set; get; }
public event PublishDelegate TrackPublished;
public event PublishDelegate TrackUnpublished;
Expand Down

0 comments on commit 5b0cce0

Please sign in to comment.