RoomHubSeam

constructor(channelName: String, selfId: PeerId, authorizer: RoomAuthorizer)

Parameters

channelName

the room name, matching the NamedMux channel tag clients use.

selfId

this server peer's own PeerId.

authorizer

required authorization policy — invoked on first frame from each connection. Use RoomAuthorizer.AllowAll for open-access rooms and in tests.