use departure timeout (#2549)

* use departure timeout

* deps

* default

* remove constants

* deps

* protoproxy cache

* add sample
This commit is contained in:
Paul Wells
2024-03-05 09:05:42 -08:00
committed by GitHub
parent 0618cb39df
commit d87f8aa299
9 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ func (r *RoomManager) getOrCreateRoom(ctx context.Context, roomName livekit.Room
}
// construct ice servers
newRoom := rtc.NewRoom(ri, internal, *r.rtcConfig, &r.config.Audio, r.serverInfo, r.telemetry, r.agentClient, r.egressLauncher)
newRoom := rtc.NewRoom(ri, internal, *r.rtcConfig, r.config.Room, &r.config.Audio, r.serverInfo, r.telemetry, r.agentClient, r.egressLauncher)
roomTopic := rpc.FormatRoomTopic(roomName)
roomServer := must.Get(rpc.NewTypedRoomServer(r, r.bus))