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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user