Sends out a disconnect message to all peers, disconnects from all peers and sends a CONNECT_HOST-command to the server, to establish RTC-peer-connections between this client and all others, making this the host
Tries to connect to another client with the given id via rtc
Tries to connect to the server at the given url and installs the appropriate listeners
Sends out a disconnect message to all peers, disconnects from all peers and sends a CREATE_MESH-command to the server, to establish RTC-peer-connections between all clients
Tries to disconnect the peer given with id
Disconnect all peers
Optional_ids: string[]Dispatches a FudgeNet.Message to the server, a specific client or all
according to FudgeNet.ROUTE and idTarget
Tries to publish a human readable name for this client. Identification still solely by id
Manages a websocket connection to a FudgeServer and multiple rtc-connections to other FudgeClients.
Processes messages from in the format FudgeNet.Message according to the controlling fields FudgeNet.ROUTE and FudgeNet.COMMAND.
Author
Falco Böhnke, HFU, 2019 | Jirka Dell'Oro-Friedl, HFU, 2021-2022