Skip to content

refactor(toxav): decouple networking and create toxav_core - #2944

Draft
iphydf wants to merge 1 commit into
TokTok:masterfrom
iphydf:toxav-custom
Draft

iphydf wants to merge 1 commit into
TokTok:masterfrom
iphydf:toxav-custom

Conversation

@iphydf

@iphydf iphydf commented Jan 2, 2026 •

Copy link
Copy Markdown
Member

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.


This change is Reviewable

@iphydf iphydf added this to the v0.2.22 milestone Jan 2, 2026
@github-actions github-actions Bot added the refactor Refactoring production code, eg. renaming a variable, not affecting semantics label Jan 2, 2026
@iphydf
iphydf marked this pull request as ready for review January 2, 2026 16:22
@iphydf
iphydf force-pushed the toxav-custom branch 8 times, most recently from 1e0abab to a0a7aa6 Compare January 2, 2026 17:26
@Green-Sky Green-Sky added the toxav Audio/video label Jan 2, 2026
Comment thread toxcore/group_chats.c
@iphydf iphydf modified the milestones: v0.2.22, v0.2.23 Jan 27, 2026
@iphydf
iphydf marked this pull request as draft February 9, 2026 08:26
@Green-Sky Green-Sky modified the milestones: v0.2.23, v0.2.24 Apr 13, 2026
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.
@Green-Sky Green-Sky modified the milestones: v0.2.24, v0.2.25 Sep 27, 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring production code, eg. renaming a variable, not affecting semantics toxav Audio/video

Development

Successfully merging this pull request may close these issues.

2 participants