From 7216c825fbb1e73047534acf76dc1ea7f3edf801 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Thu, 30 Jan 2025 16:44:35 -0800 Subject: [PATCH] fix internal signal protocol backward compatibility with 1.7.x (#3384) * fix internal signal protocol backward compatibility with 1.7.x fixes #3371 * tidy --- pkg/routing/interfaces.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/routing/interfaces.go b/pkg/routing/interfaces.go index 25c491b31..0312c93a2 100644 --- a/pkg/routing/interfaces.go +++ b/pkg/routing/interfaces.go @@ -275,5 +275,12 @@ func ParticipantInitFromStartSession(ss *livekit.StartSession, region string) (* pi.SubscriberAllowPause = &subscriberAllowPause } + // TODO: clean up after 1.7 eol + if pi.CreateRoom == nil { + pi.CreateRoom = &livekit.CreateRoomRequest{ + Name: ss.RoomName, + } + } + return pi, nil }