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
107 stars 7 forks source link

Multiple streams #17

Closed backkem closed 11 months ago

backkem commented 1 year 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 11 months ago

Considered closed by #23.