Help — RetroHexChat

/p2p

Invite someone to a P2P session that runs an audio/video call, file transfers, and games together over one connection. The request arrives in the private message as a card carrying the session's own address; both of you enter through that card, which opens the session in a tab of its own. Decline sits beside it for the person who would rather not. See also: P2P Sessions in Chat, P2P Session.

Open a P2P Session with another user: a single persistent peer-to-peer connection that hosts every feature at once — an audio or video call, file transfers, and games — all running at the same time.

Syntax

/p2p <nickname>

Parameters

nickname — The user to open a P2P Session with.

How It Works

Running /p2p creates the session and writes the request straight into your private message with that person. Nothing is asked of you first. The line carries the session's own address and draws a card, and that card is the door for both of you — the other side opens the same one, or presses Decline beside it. Following it opens the session in a browser tab of its own, starting in the room where you both pick devices and press Ready. Once the host presses Start, Call, Files, Games and Stats all run over the one connection; ending one keeps the others alive.

Rules & Limits

  • Both you and the target must be registered and identified (via /ns identify).
  • The target must be online.
  • You cannot start a P2P session with yourself.
  • You can hold sessions with several people at once. Only a second session with the same person is refused.

Examples

/p2p Alice /p2p Bob

See Also

P2P Sessions in Chat · P2P Starting Room · P2P Session · Video Call · File Transfer

Help
GitHub License (MIT)
6 objects
GitHub License (MIT)