Commit Graph

8 Commits

Author SHA1 Message Date
Henry Ruhs e2e4e6a95b Refactor/stream helper testing (#1141)
* fix tests part1

* improve testing

* use real audio

* more renaming

* switch to hash assertions

* switch to hash assertions

* switch to hash assertions

* switch to hash assertions

* skip on macos
2026-06-01 18:42:37 +02:00
Harisreedhar 3eeb505c86 Refactor(stream-helper): pass peer context objects to receivers, fix codec guard, move YUV conversion into decoders (#1140)
* extract numpy.empty(0) into an empty_vision_frame variable so the sentinel intent is clear

* bring back todos

* bring back todos

* rename opus_buffer to audio

* move reshape and cvtColor into decoder modules

* add audio_codec check

* add audio_codec check

* rename audio video buffer

* simplify receive methods and cleanup test

* todo

* revert decode methods to return pointer

* remove duplicate test_stream_helper — tests live in test_api_stream_helper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 17:21:06 +05:30
harisreedhar 02f684e220 bring back todos 2026-06-01 15:48:10 +05:30
harisreedhar a88d8ead49 bring back todos 2026-06-01 15:45:44 +05:30
harisreedhar 7735c3740f bring back todos 2026-06-01 15:19:28 +05:30
henryruhs f2de9f1843 rename to video pack and audio pack 2026-06-01 11:41:25 +02:00
Harisreedhar aea36a9e55 Replace queues with timestamped deques and fix Audio Video sync (#1139)
* change to deque

* remove single line condition

* change threading to asyncio

* bringback todos
2026-06-01 15:03:33 +05:30
Henry Ruhs 0f5f75ba51 Cleanup/testing suite (#1136)
* clean testing suite

* clean testing suite part2

* clean testing suite part3

* add todos

* extend testing suite and kill some mutants

* fix hashes

* fix lint

* fix test

* fix test
2026-06-01 08:54:37 +02:00