Get a connector

Request a core connector from weei.sdk.connectors inside mount() or configureBackground(). You get the same instance Weei itself uses; it is never created twice.

JavaScript
const { rxjs, connectors } = weei.sdk;

app.rtcService.getOrCreateConnector(connectors.RtcTopologyConnector)
  .pipe(rxjs.first())
  .subscribe(topology => {
    // Use the connector here.
  });

What is documented

ConnectorStatusUse it for
TreeRtcServiceEventsConnectorDocumentedDisplay names and what each participant shares.
RtcTopologyConnectorDocumentedWho is in the room.
RtcMediaConnectorDocumentedParticipants' camera and microphone streams.
RtcDiagnosticsConnectorInternalConnection diagnostics used by Weei tools.
RtcSystemLogsConnectorInternalWeei's diagnostic log.
AvRelayConnector, ScreenRelayConnectorInternalMedia transport.
UserEventsConnectorInternalShared pointer and keyboard events used by recordings.
WeeiUiSettingsConnectorInternalWindow geometry shared by Weei's UI.

Your own connectors

To exchange your widget's own data, write a connector: see the tutorial and the connector contract.