waytale - v0.5.1
    Preparing search index...

    Class WaytaleNetworkController

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    awareness: Awareness
    provider: WebrtcProvider
    webrtcConfig: { iceServers: object; signaling: string[] }

    Methods

    • Parameters

      Returns Promise<void>

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Check whether the connection to the signalling server is intact. Produces notifications when problems are encountered. Detects and reacts with milder warnings when running on localhost.

      Currently has development server hardcoded too, to account for possible connectivity surprises.

      Parameters

      • provider: WebrtcProvider
      • selfCheckSigServTimeout: number

      Returns void

    • Set up event handlers for changes in awareness changes. That is, when a peer joins or leaves, update our list of avatars accordingly. Apply position updates.

      Parameters

      Returns void