I am currently creating an example project for broadcasting with the supabase library. I am broadcasting my mouse movements with the project. After I have moved the mouse a lot, for about 10 seconds, the websocket no longer sends or receives anything. Is this a spam protection of the websocket or does it not cope with the fact that I send and receive many requests?
I get the following error message when I continue to move the mouse:
Private Sub MouseMoved(x As Int,y As Int)
'If x Mod 10 = 0 Or y Mod 10 = 0 Then
Dim m As Map = CreateMap("x":X.As(String),"y":Y.As(String),"clr":MySessionColor.As(String),"usr_id":ThisUser.Id,"username":ThisUser.Metadata.Get("username"))
If ThisChannel.IsInitialized = False Then Return
ThisChannel.SendBroadcast("cursor-pos",m)
End Sub
Or can the whole thing be slowed down a little by not sending everything?