steep-balloon-41261
10/07/2025, 11:59 PMtall-airline-16756
10/07/2025, 11:59 PMtall-airline-16756
10/07/2025, 11:59 PMtall-airline-16756
10/08/2025, 12:19 AMsid property of the Room class once you’re connected.
Here’s a simple example to show you how to get the SID:
let room = Room()
// After connecting...
if let roomSid = room.sid {
print("Room SID: \(roomSid)")
}
If you prefer, there’s also an async method sid() that lets you wait until the SID is ready:
do {
let roomSid = try await room.sid()
print("Room SID: \(roomSid)")
} catch {
print("Failed to get SID: \(error)")
}
If you have any more questions or need a hand with anything else, just let me know—I’m here to help!
Sources: Sources/LiveKit/Participant/RemoteParticipant.swift | Rooms, participants, and tracks | LiveKit Docsmelodic-zoo-29246
10/08/2025, 12:20 AMtall-airline-16756
10/08/2025, 12:20 AMtall-airline-16756
10/08/2025, 12:22 AMmelodic-zoo-29246
10/08/2025, 12:22 AM