Viktorani API - v0.0.8
    Preparing search index...

    WebRTC transport implemented via PeerJS.

    The host registers a deterministic PeerJS ID derived from the room code (vkt-<roomId>). Players connect to that well-known ID. All data flows over WebRTC data channels with DTLS encryption provided by the browser.

    Connection topology:

    • Host: one Peer instance listens for incoming connections; each connected player gets its own DataConnection in connections.
    • Player: one Peer instance with a random ID; a single outbound DataConnection to the host.

    The 8-second timeout on connect() allows transport.TransportManager to fall back to transport/GunTransport.GunTransport in 'auto' mode when the PeerJS signalling server is unreachable.

    Implements

    Index

    Constructors

    Accessors

    Methods