client-sdk-js
Data tracks packetizer and depacketizer
#1798
Open

Data tracks packetizer and depacketizer #1798

1egoman wants to merge 48 commits into main from data-tracks-packetizer
1egoman
changeset-bot
coderabbitai
github-actions
1egoman 1egoman force pushed from 0e7268ea to 464e0118 7 days ago
coderabbitai
coderabbitai commented on 2026-01-28
coderabbitai
coderabbitai commented on 2026-01-28
coderabbitai
coderabbitai commented on 2026-01-28
1egoman feat: migrate DataTrackPacket to take Uint8Array not ArrayBuffer
4c207e83
1egoman feat: add WrapAroundUnsignedInt u32 support
50738da6
1egoman feat: add DataTrackClock implementation
46005841
1egoman feat: add initial DataTrackPacketizer implementation
4a280287
1egoman fix: add updated packetizer docs
71ee4080
1egoman fix: ensure timestamp is formatted consistently in tests
e64b0030
1egoman feat: add data track packetizer tests
c81955ce
1egoman fix: run npm run format
3ed7cf00
1egoman refactor: move DataTrackPacketizerFrame into implementation specific …
004d48e0
1egoman feat: add initial Depacketizer implementation
491a8735
1egoman fix: address some minor bugs in depacketizer implementation
8d5f7615
1egoman fix: address imports in packetizer
a8ccf1da
1egoman fix: run npm run format
8bee8f51
1egoman refactor: rename WrapAroundUnsignedInt methods to make it clear they …
bdf14be7
1egoman fix: address wrap around int bug
d639a35f
1egoman feat: add depacketizer tests
d4d10932
1egoman feat: call reset instead of clearing partial directly
2360df19
1egoman feat: migrate away from dropError returned from depacketizer push
294f948d
1egoman fix: add export to error
cb9286ba
1egoman fix: run npm run format
e0d5fc29
1egoman feat: add throws-check ignore comments for panic errors
e310f839
1egoman fix: get depacketizer to pass throws transformer check
f6aba274
1egoman fix: add explicit packetize error
b8a2292e
1egoman fix: remove unused frameNumber property
4388b5b6
1egoman fix: add changesets file
4cd81f40
1egoman fix: address code review comments
9241e65d
1egoman fix: address off by one error in max buffer size test
91400a52
1egoman feat: add all primatives to throws check, not just null + undefined
77db2f28
1egoman docs: update readme phrasing
066464b0
1egoman docs: add docs that isBefore doesn't handle wraparounds properly
b8ae23b9
1egoman fix: run npm run format
16250306
1egoman fix: address variable typo
abbec245
1egoman 1egoman force pushed from b718f33c to abbec245 6 days ago
1egoman 1egoman marked this pull request as ready for review 6 days ago
1egoman fix: remove fixme and standardize on toBinary returning Uint8Array
24f0c5bd
coderabbitai
coderabbitai commented on 2026-01-28
1egoman
1egoman commented on 2026-01-28
1egoman docs: add updated docstring
982676db
1egoman fix: add extra timestamp clones to guard against external mutation
0978323f
1egoman 1egoman requested a review from ladvoc ladvoc 6 days ago
1egoman 1egoman requested a review from lukasIO lukasIO 6 days ago
1egoman 1egoman requested a review from xianshijing-lk xianshijing-lk 6 days ago
coderabbitai
coderabbitai commented on 2026-01-28
1egoman fix: reset depacketizer after processing packets
e658da0c
1egoman fix: make DataTrackFrame contain a Uint8Array, not ArrayBuffer
444592fc
1egoman fix: allow data track packets with duplicate sequence numbers
3d3254f7
1egoman fix: run npm run format
595334da
1egoman
1egoman commented on 2026-01-28
ladvoc
ladvoc commented on 2026-01-29
xianshijing-lk
xianshijing-lk commented on 2026-01-29
1egoman fix: replace exports with imports
e53136eb
1egoman 1egoman force pushed from bce1ceed to e53136eb 1 day ago
1egoman fix: avoid resetting sequence value in middle of depacketizer test
8363316c
1egoman refactor: swap reduce for explicit summing loop
8cf653d6
1egoman fix: make MAX_BUFFER_PACKETS check also check greater than, not just …
9ca4814e
coderabbitai
coderabbitai commented on 2026-02-02
1egoman fix: add out of order packet test
082914f1
1egoman feat: add comment calling out MAX_BUFFER_PACKETS check blocking dupli…
22cc118f
1egoman fix: reset partial frame state before incomplete error is thrown
c86f6270
1egoman
coderabbitai
coderabbitai commented on 2026-02-02
1egoman feat: reset packetizer after any error is thrown
0933cd29
xianshijing-lk
xianshijing-lk approved these changes on 2026-02-02
1egoman feat: make isBefore handle wraparound
e98d4d3e
coderabbitai
coderabbitai commented on 2026-02-03

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone