How can i edit connection data?

I need to edit the connection data after already creating the subscriber. For example, my subscriber was created with position 1, and I need to change it to position 2 without unsubscribing it.


Connection data can’t be modified, you need to manage the “position” data by yourself. I see two approaches:

Approach 1: Store that data in the client side (browser), and propagate to the rest of participants by using signals (The link I shared shows how to send messages, but you can send any type of data to any participant in the session.

Approach 2: Store that data in a server when a client modifies it, and use the POST signal operation, to notify all users of the change.

1 Like