If you want to rejoin the same room with same actor number when the app is unpaused you need to take few things into consideration: If the game design enables a player to return after several seconds or minutes, then you could also reconnect and rejoin the game again. If the app is paused for longer than the client disconnect timeout (10 seconds by default) the client will be disconnected and you need to reconnect as soon as the app is "unpaused".Ī "timeout disconnect" callback will be triggered only after the app back from being in the background. In some cases, this can be worked aorund by playing audio (even inaudible one) while in the background. Often, browsers will not run JS and WebAssembly in the background. On WebGL, it might also make sense to set a PlayerTTL and reconnect to the session when the tab is back in focus. It might make sense to Disconnect the client, when the app switches to the background. On iOS, applications can not keep a connection, while in background (see Background Execution on the Apple dev pages). Third party plugin that introduces an overlay view in the app (e.g.On mobile platforms, if the app moves to background it pauses the main message loop which is responsible for keeping the client connected among other things. Android Volume Controls When Using Photon Microphone Type.ArgumentException In Socket.SetSocketOption.In some cases, this means we will simply list broken versions per platform and guide you to other versions. The focus here is on issues which we can't fix or workaround. On this page, we will list known issues with Photon on the various platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |