fix internal signal protocol backward compatibility with 1.7.x (#3384)

* fix internal signal protocol backward compatibility with 1.7.x
fixes #3371

* tidy
This commit is contained in:
Paul Wells
2025-01-30 16:44:35 -08:00
committed by GitHub
parent 68dd877752
commit 7216c825fb
+7
View File
@@ -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
}