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