1.0.0 • Published 8 months ago

protomux-bridging-relay v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

Protomux bridging relay

Bridging relay for UDX over Protomux channels. By acting as a bridging relay, a host may accept pairing requests from other hosts and relay UDX stream messages between them, similar to Traversal Using Relays around NAT (TURN).

npm i protomux-bridging-relay

Protocol

Messages

All types are specified as their corresponding compact-encoding codec.

pair (0)

  1. bitfield(1) Flags.
    1. isInitiator
  2. fixed32 Preexchanged bridging token.
  3. uint Stream ID of the sender.
  4. uint Initial stream sequence no. of the sender.

unpair (1)

  1. bitfield(1) Flags, reserved.
  2. fixed32 Preexchanged bridging token.

License

Apache-2.0