Type alias State<PeerMetadata, TrackMetadata>

State<PeerMetadata, TrackMetadata>: {
    bandwidthEstimation: bigint;
    client: Client<PeerMetadata, TrackMetadata>;
    deviceManager: DeviceManager;
    devices: Devices<TrackMetadata>;
    local: PeerState<PeerMetadata, TrackMetadata> | null;
    media: MediaState | null;
    reconnectionStatus: ReconnectionStatus;
    remote: Record<PeerId, PeerState<PeerMetadata, TrackMetadata>>;
    screenShareManager: ScreenShareManager;
    status: PeerStatus;
    tracks: Record<TrackId, TrackWithOrigin<PeerMetadata, TrackMetadata>>;
}

Type Parameters

  • PeerMetadata
  • TrackMetadata

Type declaration