A connection is established between the SDK and mediasoup through webrtc-transport, and the router class, transport class and forwarding relationship stored in the context in mediasoup-worker are generated.
When the worker restarts (normal release restart or abnormal restart is pulled up by the script), the connection between the SDK and the worker will be disconnected, and the worker context will also be lost during the restart process.
How to solve the problem of disconnection when the worker restarts, in a commercial project.
Is it possible to store key contextual information in persistent storage like shared memory, or a kv database?
This is just a discussion, thanks for the answer.