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
|
pi.SubscriberAllowPause = &subscriberAllowPause
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: clean up after 1.7 eol
|
||||||
|
if pi.CreateRoom == nil {
|
||||||
|
pi.CreateRoom = &livekit.CreateRoomRequest{
|
||||||
|
Name: ss.RoomName,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return pi, nil
|
return pi, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user