WICG / local-peer-to-peer

↔️ Proposal for local communication between browsers without the aid of a server.
https://wicg.github.io/local-peer-to-peer/
Other
62 stars 6 forks source link

Multiple streams #17

Closed backkem closed 7 months ago

backkem commented 9 months ago

The current explainer implements send (DOMString message); and EventHandler onmessage; directly on the peer object.

Protocols such as SCTP (as used by WebRTC) and QUIC (as used by OpenScreen Protocol) can carry multiple simultaneous streams.

It seems worth considering to support opening multiple streams. For example: a game could use one stream to send player updates while using another for in-game messaging.

backkem commented 7 months ago

Considered closed by #23.