Skip to content

Commit

Permalink
Added departure-timeout option
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Mar 21, 2024
1 parent 515bd58 commit a8111d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion protocol
Submodule protocol updated 137 files
4 changes: 4 additions & 0 deletions src/main/kotlin/io/livekit/server/RoomServiceClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class RoomServiceClient(
minPlayoutDelay: Int? = null,
maxPlayoutDelay: Int? = null,
syncStreams: Boolean? = null,
departureTimeout: Int? = null,
): Call<LivekitModels.Room> {
val request = with(LivekitRoom.CreateRoomRequest.newBuilder()) {
this.name = name
Expand All @@ -72,6 +73,9 @@ class RoomServiceClient(
if (syncStreams != null) {
this.syncStreams = syncStreams
}
if (departureTimeout != null) {
this.departureTimeout = departureTimeout
}
build()
}
val credentials = authHeader(RoomCreate(true))
Expand Down

0 comments on commit a8111d6

Please sign in to comment.