Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/room/participants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@
"Client protocol: {}",
participant.client_protocol()
));
let caps = participant.capabilities();

Check failure on line 60 in src/room/participants.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

no method named `capabilities` found for reference `&livekit::prelude::RemoteParticipant` in the current scope

Check failure on line 60 in src/room/participants.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

no method named `capabilities` found for reference `&livekit::prelude::RemoteParticipant` in the current scope
let caps_str = if caps.is_empty() {
"(none)".to_string()
} else {
caps.iter()
.map(|c| format!("{:?}", c))
.collect::<Vec<_>>()
.join(", ")
};
ui.weak(format!("Capabilities: {}", caps_str));

// Sorted keys avoid flicker in immediate mode.
let tracks = participant.track_publications();
Expand Down
Loading