Skip to content

Commit db6fe2e

Browse files
committed
ObjC
1 parent a0d4b1c commit db6fe2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/LiveKit/Agent/Room+Agent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ let publishOnBehalfAttributeKey = "lk.publish_on_behalf"
2020

2121
public extension Room {
2222
/// All agent participants in the Room
23+
@objc
2324
var agentParticipants: [Participant.Identity: RemoteParticipant] {
2425
// Filter out agents that are replaced by another agent e.g. avatar worker
2526
let onBehalfIdentities = Set(remoteParticipants.compactMap {
@@ -31,6 +32,7 @@ public extension Room {
3132
}
3233

3334
/// The first agent participant in the Room
35+
@objc
3436
var agentParticipant: Participant? {
3537
agentParticipants.values.first
3638
}

0 commit comments

Comments
 (0)