bored-motorcycle-22550
08/27/2025, 3:13 PM<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:
<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:
&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:
_, 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.refined-appointment-81829
08/27/2025, 4:14 PM