Data streams v2 #1985

1egoman wants to merge 54 commits into main from data-streams-v2
1egoman
1egoman 1egoman requested a review from lukasIO lukasIO 13 days ago
1egoman 1egoman requested a review from xianshijing-lk xianshijing-lk 13 days ago
changeset-bot
github-advanced-security
github-advanced-security commented on 2026-06-23
1egoman
1egoman commented on 2026-06-23
1egoman 1egoman requested a review from ladvoc ladvoc 13 days ago
lukasIO
lukasIO commented on 2026-06-25
1egoman refactor: rename constant
9c4a51df
1egoman fix: make rpc use datastream.sendText, NOT streamText
7a13f507
1egoman fix: convert rpc tests from streamText -> sendText
68203302
1egoman feat: add initial support for single packet data streams via hacky me…
846173f3
1egoman feat: add backwards compatibility back in for old multi packet v1 dat…
db5547ba
1egoman feat: check all participants in room before broadcasting a v2 data st…
64042a0d
1egoman feat: add initial data stream benchmark app
759b8e61
1egoman feat: add missing constants file
42ae43fa
1egoman feat: add initial data stream compression implementation
9f8a9833
1egoman feat: migrate compression to get rid of "pump" and compress per packe…
4ada1a17
1egoman fix: swap else if -> switch/case
434c932e
1egoman feat: add initial take at streaming through CompressionStream for data
c9ed60ac
1egoman feat: commit hand written data streams compression approach
1ee48e8e
1egoman feat: try out using fflate to share a single compression stream acros…
ea65ece6
1egoman refactor: move to deflate-raw for all compression, move to Compressio…
ba4a28ee
1egoman fix: get rid of singleWrite mode on streamText
3c7b6a87
1egoman fix: clean up code
a721255e
1egoman feat: remove compression from streamText, in practice this doesn't re…
d6da60d6
1egoman feat: add compression into bytestreams too
0f2831dd
1egoman refactor: move around outgoing data stream single packet / compressio…
a3c60ad2
1egoman fix: reduce needless diff churn
837aacfe
1egoman feat: add max header size breaking change
21c2544b
1egoman feat: advertise new CAP_COMPRESSION_DEFLATE_RAW capability to SFU
520c3818
1egoman feat: add proper OutgoingDataStreamManager tests
88adfa00
1egoman feat: add initial IncomingDataStreamManager tests
5990dbbd
1egoman fix: ensure that compression only used when remote participants suppo…
d690e420
1egoman fix: fiz zlib Z_SYNC_FLUSH test
ad14a39b
1egoman feat: add a few more IncomingDataStreamManager tests
ce342ec3
1egoman fix: reformat code
cb247a9b
1egoman fix: remove unused import
3d312d51
1egoman fix: remove Z_SYNC_FLUSH test, it was not really testing the right thing
4e43e86b
1egoman fix: add participant disconnect test
fe033cd1
1egoman fix: add sendFile v1 outgoing data stream manager tests
69084c97
1egoman feat: port over data streams implementation to use newly added proto …
f4652e3f
1egoman feat: commit initial data streams spec
bd74e392
1egoman fix: remove unused tests
b41875e4
1egoman fix: remove earlier drafts mention
2fc2bbd8
1egoman fix: remove more out of date E2EE stuff and note about utf-8 chunk bo…
949a8b13
1egoman fix: update misleading comments
a1780aca
1egoman fix: add sendBytes method as the main entrypoint for sending inline b…
f4eab359
1egoman fix: make sendFile optional in spec
deb8b578
1egoman 1egoman force pushed from a1466412 to deb8b578 11 days ago
github-actions
1egoman fix: run npm run format
0f135734
1egoman fix: address remaining lint errors
42c7ee14
1egoman fix: add missing changeset
76f9866b
lukasIO
lukasIO commented on 2026-06-27
xianshijing-lk
xianshijing-lk commented on 2026-06-29
1egoman fix: add log when unknown compression scheme encountered
725e90e7
1egoman fix: convert intermedite streams to transformstream
599547f8
1egoman fix: port compression to use TransformStream
3467df85
xianshijing-lk
xianshijing-lk commented on 2026-06-29
1egoman feat: add zero length single packet data stream tests
3d54baaa
1egoman fix: swap break for return
947d01a5
lukasIO
lukasIO approved these changes on 2026-07-01
1egoman fix: ensure data stream payload will only ever be compressed once
a540eaeb
1egoman fix: address lint error
68b87c52
1egoman feat: add name / mimeType to new sendBytes method
919b5922
1egoman docs: update CompressedStreamState docstring
67e9a5d7
1egoman feat: add compressedStream.lengthLargerThan to allow for partial stre…
25af9bcb
yeongkyuyoon

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone