Comments (5)
MAX_STREAMS is negotiated between peers as a transport parameter. We should just tell agents to set MAX_STREAMS to a limit that is high enough so that it does not limit the protocol in practice.
An application sending 1 message/ms and allowing retransmissions for 10 seconds would have 10,000 concurrent streams. We can just set a minimum MAX_STREAMS of 2^17 to provide additional headroom.
from openscreenprotocol.
Correction: MAX_STREAMS limits the cumulative number of streams that can be opened per connection. For long lived connections, we will need a higher value. For a year-long connection, that could be as high as 400M according to the math above.
from openscreenprotocol.
In current Open Screen Library, QuicSteam is used as unidirectional stream, see CreateOutgoingStream and CreateIncomingStream. One endpoint can only use the incoming stream to read message. If it want to send message to peer, it need to create a new outgoing stream.
If we can change the QuicStream to bidirectional, then the incoming stream can also be used to send message and there is no need to create a new one. Beside, we can also call CloseWriteSide or CloseReadSide to turn a bidirectional stream to a unidirectional stream for scenario where unidirectional stream is really needed. WDYT?
from openscreenprotocol.
For my understanding; what drove the original one message per stream design? Is it to avoid relying solely on the variable-length integer and CBOR for message framing?
from openscreenprotocol.
Related Issues (20)
- Certificates should have a maximum lifetime, and SPAKE2 identities should be SPKI not cert fingerprint HOT 1
- Seek horizontal reviews on the spec HOT 1
- Clarify `time-scale` field HOT 2
- Cross-spec links are broken HOT 6
- How to control the sender side on the receiver side
- `color-gamuts` could be a single value and not a list
- MIME types and metadata encoding for Dolby Vision formats
- Matter protocol similarities HOT 4
- Remote control of Media Session
- Reallocate message type IDs?
- start looking at mechanisms to exchange information between W3C and CSA on Matter
- OSP protocol split HOT 5
- Define re-sync behavior for capabilities on network reconnection
- Explore multi-device timeline sync protocol with sub-10ms precision
- Media Over QUIC
- Representation of time in remote-playback-state
- Clarity on the use of Friendly name HOT 1
- Clarification on Negotiating Connection IDs
- Mandate unidirectional QUIC streams
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscreenprotocol.