review: Move the all advertised/active down to the LocalMember

And let the local member use it properly to send membership event and publish media
This commit is contained in:
Valere
2026-04-09 15:22:10 +02:00
parent 08006d640a
commit 40dacd523b
4 changed files with 94 additions and 60 deletions

View File

@@ -106,7 +106,7 @@ export function isLocalTransportWithSFUConfig(
return "transport" in obj && "sfuConfig" in obj;
}
interface LocalTransport {
export interface LocalTransport {
/**
* The transport to be advertised in our MatrixRTC membership. `null` when not
* yet fetched/validated.