refactor(toxav): decouple networking and create toxav_core - #2944
Draft
iphydf wants to merge 1 commit into
Draft
Conversation
iphydf
marked this pull request as ready for review
January 2, 2026 16:22
iphydf
force-pushed
the
toxav-custom
branch
8 times, most recently
from
January 2, 2026 17:26
1e0abab to
a0a7aa6
Compare
Green-Sky
reviewed
Jan 2, 2026
Introduces a new `ToxAV_IO` interface to decouple `toxav` from the `toxcore` networking stack. This allows `toxav` to be used with alternative transports or for testing without a full `Tox` instance.
iphydf
marked this pull request as draft
February 9, 2026 08:26
sorasoras
added a commit
to sorasoras/c-toxcore
that referenced
this pull request
Jul 25, 2026
…xav_core Introduces ToxAV_IO interface to decouple toxav from toxcore networking. New public API: toxav_new_custom(), toxav_receive_packet(). Compatibility layer in toxav_compat.c preserves toxav_new(). Conflicts resolved in toxav.c and av_test_support.cc.
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.
Introduces a new
ToxAV_IOinterface to decoupletoxavfrom thetoxcorenetworking stack. This allowstoxavto be used with alternative transports or for testing without a fullToxinstance.This change is