client-sdk-js
Data tracks - Packet serialization + deserialialization, plus some error handling changes
#1792
Merged

Data tracks - Packet serialization + deserialialization, plus some error handling changes #1792

1egoman merged 75 commits into main from data-tracks
1egoman
1egoman feat: add initial data track serialization logic
27d979b9
1egoman refactor: break up data track serialization logic into multiple files
2d502f51
1egoman feat: add data track packet serialization test
eab7d35c
1egoman fix: remove unused variable
3301fa63
1egoman feat: do a first pass at deserializing
c31d29a3
1egoman feat: try to get TypedPromise to work with data tracks
bcdebe8f
1egoman feat: try out the throws transformer prototype
158dbcae
1egoman feat: add throws annotations to all deserialize functions
87fb7bd7
1egoman fix: address bugs in data tracks deserialization
6c76472c
1egoman fix: move toBinaryLengthBytes to address type error
21fd7f46
1egoman feat: add initial deserialization test
3ff0dba2
1egoman feat: add error handling / rethrowing logic
a3f258a6
1egoman fix: commit missing handle file
76346a4d
1egoman feat: add explicit LivekitReasonedError abstract type
b91e810c
1egoman fix: run npm run format
6f231cf8
1egoman feat: add initial set of deserialization tests
369be62d
changeset-bot
coderabbitai
1egoman feat: add remaining tests
4d58c76a
1egoman fix: swap fixed sizes for constants per jacob suggestion
b1823990
1egoman fix: address transposition typo
afb8762a
1egoman feat: add track handle tests
b78f8b0d
1egoman feat: add throws check command
da94a365
1egoman feat: add DataTrackDeserializeErrorAll
ee3a2657
1egoman fix: remove unused import
1dfd7779
1egoman feat: vendor throws transformer into repo
b308e54e
1egoman feat: add throws transformer check to ci
9f7ce0c0
1egoman fix: run npm run format
d43c5edc
1egoman fix: remove accidentally committed type
d96affad
1egoman fix: run npm run format
3a170e66
1egoman fix: get rid of ErrorOptions
1534a41c
1egoman docs: fix docs comment
bdcc6b10
1egoman fix: try using full es2022 to see if that makes the build work
591a897d
1egoman Revert "fix: try using full es2022 to see if that makes the build work"
e653c070
1egoman feat: assign to this.cause directly to bypass build error
d385b803
1egoman feat: add cause property to error
1f65c424
1egoman fix: make cause optional
527339fc
1egoman fix: replace missed ErrorOptions reference
d6c06244
github-actions
1egoman 1egoman marked this pull request as ready for review 119 days ago
1egoman fix: use length tags in more places
962c3daf
coderabbitai
coderabbitai commented on 2026-01-23
1egoman feat: apply workaround due to sfu bug
04d87310
coderabbitai
coderabbitai commented on 2026-01-23
1egoman fix: convert tag / lengthBytes fully into static members
c4adff4a
1egoman feat: add coerceToDataView function to get fromBinary input as a data…
1eace3bc
1egoman fix: address typo in tests
2ca4051e
1egoman fix: adjust extension byte processing to try to make code clearer
02ced9b0
1egoman fix: address potential out of bounds DataView read
e5ef502f
1egoman fix: address potential out of bounds DataView read
9507b4db
1egoman feat: add WrapAroundUnsignedInt test
ff7607e0
1egoman fix: address cause check being backwards
0df397eb
1egoman fix: remove no-op ts-expect-error
e7a33535
1egoman fix: update incorrect throws transformer docs
a4bca2a8
coderabbitai
coderabbitai commented on 2026-01-23
1egoman fix: run npm run format
f6b7185e
1egoman fix: address swapped variable names
603a9f7f
coderabbitai
coderabbitai commented on 2026-01-23
1egoman fix: address error message mispelling
5a2d28a7
1egoman feat: add negative wraparound to WrapAroundUnsignedInt
007cd5f6
coderabbitai
coderabbitai commented on 2026-01-23
1egoman fix: address docstring typo
600b01ca
1egoman feat: adjust wrap around behavior to use 1 indexed size not 0 indexed…
9c238a2d
1egoman feat: handle tsconfig parse error
6cc18bde
1egoman fix: add curly braces to blocks
58ada389
1egoman fix: rename variable
cdb0a532
1egoman fix: add changeset
3b0c0ea6
coderabbitai
coderabbitai commented on 2026-01-23
1egoman fix: handle explicitly tsconfig parsing errors
5fb382d9
1egoman fix: update test to use 65536
e60824eb
1egoman
1egoman commented on 2026-01-23
1egoman 1egoman requested a review from ladvoc ladvoc 119 days ago
1egoman 1egoman requested a review from lukasIO lukasIO 119 days ago
1egoman 1egoman requested a review from xianshijing-lk xianshijing-lk 119 days ago
ladvoc
ladvoc
ladvoc approved these changes on 2026-01-23
1egoman feat: add round trip serialize + deserialize test
31a3b583
coderabbitai
coderabbitai commented on 2026-01-25
1egoman fix: adjust off by one extenson words value based on jacob review com…
50dc51ed
1egoman fix: address off by one error in deserialization of single packet case
db0fed0c
coderabbitai
coderabbitai commented on 2026-01-25
1egoman feat: add data track serialization errors that were missed the first …
491c0320
1egoman fix: remove async from test cases
6e0b6254
1egoman feat: add explicit Error skipping in Throws brand implementation
a77f80ce
1egoman fix: run npm run format
0e3b8385
1egoman fix: address incorrect comment
d5fcad9e
coderabbitai
coderabbitai commented on 2026-01-25
1egoman feat: replace explicit ignoring of Error with @throws-transformer ign…
02545e7a
1egoman feat: use new @throws-transformer ignore syntax instead of explicitly…
c48cda2b
1egoman fix: correct docs typo
3e619679
1egoman fix: remove default Error param
6c1678ef
coderabbitai
coderabbitai commented on 2026-01-25
1egoman docs: update readme examples
49aeae5c
1egoman fix: remove LLM insertion of a different license
16e5f81c
lukasIO
lukasIO commented on 2026-01-27
lukasIO
1egoman
1egoman fix: make it clearer that the extension length is ALSO stored in a rt…
95d52f42
1egoman 1egoman merged c49f0484 into main 114 days ago
1egoman 1egoman deleted the data-tracks branch 114 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone