When we receive a Metadata Update message from the server regarding a stream, we should close all the consumers and publishers of that stream: the server will already consider them to be dead, since the topology of that stream might have changed. The user should be notified of such event, we should emit a connection_closed event.
When we receive a Metadata Update message from the server regarding a stream, we should close all the consumers and publishers of that stream: the server will already consider them to be dead, since the topology of that stream might have changed. The user should be notified of such event, we should emit a
connection_closed
event.