mirror of
https://github.com/livekit/livekit.git
synced 2026-07-29 16:19:35 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user