Resonate
Resonate copied to clipboard
LiveKit Controller event handler has an undefined state handler
🐛 Describe the bug
While running the app
potential fixes would be to comment out
..on<RoomConnectionStateChangedEvent>((event) {
if (event.newState == ConnectionState.disconnected) {
handleDisconnection();
}
})
or use
..on<RoomMetadataChangedEvent>((event) {
if (event.metadata == "disconnected") {
handleDisconnection();
}
})