ManagedPeer implementation, which uses PeerJS peer.

Hierarchy

  • ManagedPeerJS

Implements

Constructors

Properties

innerConfigBus: DefaultStickyEventBus<ManagedPeerConfig> = ...
innerEventBus: DefaultEventBus<ManagedPeerEvent> = ...
innerPeer: null | Peer = null
innerPeerBusSubscriptionCanceler: null | SubscriptionCanceler = null
innerStateBus: DefaultStickyEventBus<ManagedPeerState> = ...

Accessors

Methods

  • Inner PeerJS config to use. If null, then internally peer is not created and IPeer is not active and can't be used.

    Please note that each call to this function causes peer to restart.

    Parameters

    • config: null | PeerJSOption
    • Optional id: string

    Returns void

Generated using TypeDoc