Hi folks, I've got a possible bug to report for <g...
# server-api
b
Hi folks, I've got a possible bug to report for github.com/livekit/server-sdk-go/v2. Today I upgraded from:
Copy code
<http://github.com/livekit/protocol|github.com/livekit/protocol> v1.39.3
	<http://github.com/livekit/server-sdk-go/v2|github.com/livekit/server-sdk-go/v2> v2.9.1
to:
Copy code
<http://github.com/livekit/protocol|github.com/livekit/protocol> v1.40.0
	<http://github.com/livekit/server-sdk-go/v2|github.com/livekit/server-sdk-go/v2> v2.10.0
I have some callbacks I use for a go peer connecting into the room. But the one I am concerned about is this one:
Copy code
&lksdk.RoomCallback{
	OnDisconnected:            d.disconnected,
},
It would appear in v2.10.0, this callback is no longer called when the peer is kicked. For example a call to:
Copy code
_, err := l.roomClient.RemoveParticipant(
		ctx,
		&livekit.RoomParticipantIdentity{
			Room:     room,
			Identity: identity,
		},
	)
in v2.9.1 results in
OnDisconnected
being called. In v2.10.0, this callback no longer occurs. This is a breaking change and I'm guessing its a bug.
r
That should be fixed in 2.11.1
🙌 1