collab: Add action to copy room id (#44004)

Adds a `collab: copy room id` action which copies the live kit room name
and session ID to the clipboard.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-12-02 16:27:36 +00:00
committed by GitHub
parent 2db237aa52
commit 3d58738548
5 changed files with 56 additions and 2 deletions
@@ -98,6 +98,14 @@ impl Room {
self.room.connection_state()
}
pub fn name(&self) -> String {
self.room.name()
}
pub async fn sid(&self) -> String {
self.room.sid().await.to_string()
}
pub async fn publish_local_microphone_track(
&self,
user_name: String,
+8
View File
@@ -714,6 +714,14 @@ impl Room {
self.0.lock().token.clone()
}
pub fn name(&self) -> String {
"test_room".to_string()
}
pub async fn sid(&self) -> String {
"RM_test_session".to_string()
}
pub fn play_remote_audio_track(
&self,
_track: &RemoteAudioTrack,