There was an error while loading. Please reload this page.
1 parent 163aece commit d10e537Copy full SHA for d10e537
1 file changed
livekit-api/src/services/room.rs
@@ -24,6 +24,7 @@ const SVC: &str = "RoomService";
24
#[derive(Debug, Clone, Default)]
25
pub struct CreateRoomOptions {
26
pub empty_timeout: u32,
27
+ pub departure_timeout: u32,
28
pub max_participants: u32,
29
pub node_id: String,
30
pub metadata: String,
@@ -78,6 +79,7 @@ impl RoomClient {
78
79
proto::CreateRoomRequest {
80
name: name.to_owned(),
81
empty_timeout: options.empty_timeout,
82
+ departure_timeout: options.departure_timeout,
83
max_participants: options.max_participants,
84
node_id: options.node_id,
85
metadata: options.metadata,
0 commit comments