这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@holofermes
Copy link
Contributor

@holofermes holofermes commented Dec 23, 2024

Access participant attributes like so:

foreach (var participantAttribute in participant.Attributes)
{
    if (participantAttribute.Key == "YourKeyLabel")
}

I'm unsure how proper it is to expose this as-is Google.Protobuf.Collections.MapField<string, string>

Fixes #69

Copy link
Contributor

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@cloudwebrtc cloudwebrtc merged commit 5b0cce0 into livekit:main Dec 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access participant attributes

2 participants