Thank you for the answer, Quinn, I appreciate it!
Would NWConnection.ContentContext.relativePriority
work to prioritize messages relative to each other? That is, would they get re-ordered based on their assigned priorities? Presumably only as long as multiple messages are queued in the on-device send buffer?
And if this does work, I assume it would only work within a single NWConnection
? Or would messages from multiple NWConnection
s sharing a single QUIC tunnel also get re-ordered based on their relative priorities?
My context is that I am working on a (relatively) simple custom video streaming protocol built on top of QUIC, trying to use some ideas from the "Media over QUIC" project. One of those is using a QUIC stream per frame so that I can cancel transmission of old queued frames if there is congestion, while also prioritizing some frames (I-frames) over others.