BlackWolf / Connichiwa

A framework for local multi-device web applications
15 stars 0 forks source link

RemoteLibrary requestWindowFrame issues #68

Open BlackWolf opened 10 years ago

BlackWolf commented 10 years ago

It seems UIWebView is quite buggy, which can cause hangs and crashes quite frequently when we sent a lot of updates to a remote over the websocket.

To prevent this, we use requestAnimationFrame in the remote library now. The situation has gotten much better with it, but there are still some problems remaining: When sending updates really fast, it sometimes happens that the requestAnimationFrame callbacks are simply not called anymore. Furthermore, we sometimes get a UIWebView crash when requesting an animation frame.

I don't suppose there is really much we can do about it, unfortuantely.

BlackWolf commented 9 years ago

We should check if this still happens with the new websocket server