Data tracks core - #990
Open
ladvoc wants to merge 14 commits into
Open
Data tracks core#990ladvoc wants to merge 14 commits into
ladvoc wants to merge 14 commits into
Conversation
ladvoc
force-pushed
the
ladvoc/data-track-core
branch
from
September 4, 2026 16:04
f15a229 to
b7b6532
Compare
ladvoc
marked this pull request as ready for review
September 4, 2026 16:07
ladvoc
force-pushed
the
ladvoc/data-track-core
branch
from
September 4, 2026 22:58
b7b6532 to
1c85018
Compare
ladvoc
force-pushed
the
ladvoc/data-track-core
branch
from
September 8, 2026 21:55
5572d61 to
dc69ba0
Compare
cnderrauber
reviewed
Sep 11, 2026
| func (d *depacketizer) frameFromSingle(packet dtp.Packet, options depacketizerPushOptions) depacketizerPushResult { | ||
| var result depacketizerPushResult | ||
| if len(d.partials) >= options.maxPartialFrames { | ||
| result.drop = d.evictOldest(packet.FrameNumber) |
Contributor
There was a problem hiding this comment.
The single frame has not been appended to the partials, do we still need to evict one?
Contributor
Author
There was a problem hiding this comment.
A Single arriving while the partials map is at capacity is treated as a signal that the oldest in-flight partial is stale: the publisher has moved on to a later frame, and on an unordered channel with no retransmits its missing packets aren't coming. It doesn't change what gets dropped (the next Start would evict it anyway), only that the drop is reported promptly and attributed to the frame that actually superseded it. This matches the Rust implementation.
ladvoc
force-pushed
the
ladvoc/data-track-core
branch
2 times, most recently
from
September 14, 2026 21:28
c9fa55a to
ae3dc6f
Compare
For consistency with other client SDKs.
ladvoc
force-pushed
the
ladvoc/data-track-core
branch
from
September 14, 2026 21:40
c2ca3f6 to
5692ffc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds core types (e.g., info, frame, schema, etc.) and packetizer/depacketizer.
Areas to review:
Closes BOT-541