Thoughts On Spectators
The following is an excerpt from a conversation between Erick Passos (erickpassos) and Alexander Brazie (Xelnath):
erickpassos
Back to topBTW @Xelnath spectators should be handled with the quantum/photon server
As you pay CCU for those... You should forward input to an external service from the plugin and handle that separately in that case
Currently the client needs to JOIN the session, meaning it WILL have a local player (at least one), which needs to send input
What may happen now is:
you don't need to send RuntimePlayer data for all players (so one client that never sends that, mightnever be a corresponding entity for him instantiated)
you still send input for that client's player, but it won't affect gameplay
Pure spectators, in the sense of 1000s of people watching a match, should be handled with a separate backend (which receives aforwarded input stream from the photon/quantum server plugin to stream it down to specator clients)