SwitchspectatortoPlayer
Posted: 14 Jun 2019, 11:36
I have joined users to a room as a Spectator initially and at server level used SwitchSpectatorToPlayer method to make users as a Player
like this.
But at client (HTML5 and Javascript) user is assumed as a Spectator only in current opened clients and whenever a new client window is opened its counted as a Player.
Is it possible to update room detail on currently opened client window whenever we switch spectator to player?
like this.
Code: Select all
room.switchSpectatorToPlayer(user);But at client (HTML5 and Javascript) user is assumed as a Spectator only in current opened clients and whenever a new client window is opened its counted as a Player.
Is it possible to update room detail on currently opened client window whenever we switch spectator to player?