Refactor local membership publisher and connectionState related logic

This commit is contained in:
Timo K
2025-12-01 20:14:29 +01:00
26 changed files with 1036 additions and 453 deletions

View File

@@ -100,7 +100,6 @@ interface Props {
}
// TODO - write test for scopes (do we really need to bind scope)
export interface IConnectionManager {
transports$: Behavior<Epoch<LivekitTransport[]>>;
connectionManagerData$: Behavior<Epoch<ConnectionManagerData>>;
}
/**
@@ -225,7 +224,7 @@ export function createConnectionManager$({
new Epoch(new ConnectionManagerData()),
);
return { transports$, connectionManagerData$ };
return { connectionManagerData$ };
}
function removeDuplicateTransports(