Commit Graph

12 Commits

Author SHA1 Message Date
henryruhs 2aced392e1 cleanup code part1 2026-05-11 16:36:23 +02:00
Harisreedhar 2b76f3381f Assets ffmpeg stream upload (#1069)
* ffmpeg sanitize

* fix type

* fix type

* add config

* ChunkQueue -> UploadQueue

* revert assets.py

* move resolve methods to ffmpeg_builder.py

* Refactor ffmpeg.py

* Remove partial import

* improve test

* remove put(None)

* cleanup

* without poll() not working

* ChunkReader -> MediaChunkReader

* improve assert by replacing generic is_file

* naming and cleanup
2026-05-11 16:36:23 +02:00
Harisreedhar ad1a6c9ea3 Implement basic webrtc stream (#1054)
* implement basic webrtc_stream

* add aiortc to requirements.txt

* update aiortc version

* rename variables with rtc_ prefix

* changes

* changes

* change helper to assert_helper and stream_helper

* rename variables with rtc_ prefix

* add error handling

* return whole connection

* remove monkey patch and some cleaning

* cleanup

* tiny adjustments

* tiny adjustments

* proper typing and naming for rtc offer set

* - remove async from on_video_track method
- rename source -> target
- add audio

* audio always before video

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:36:03 +02:00
Harisreedhar 7c078644ad Improve tests (#1047)
* improve tests

* does it hurt someone to have crazy numbers?

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:35:16 +02:00
harisreedhar dcfbbc041f add missing endpoints 2026-05-11 16:34:28 +02:00
henryruhs dc500eb398 Add process manager to the right place 2026-05-11 16:34:28 +02:00
henryruhs 5fa088457e FFmpeg powered sanitization, Chunk based upload write 2026-05-11 16:34:28 +02:00
henryruhs 40f5b403a4 Simplify testing 2026-05-11 16:34:28 +02:00
henryruhs 908f3d2873 Revamp the upload 2026-05-11 16:34:28 +02:00
harisreedhar 71c79f4e96 upload asset endpoint 2026-05-11 16:34:28 +02:00
harisreedhar 746b3249ef upload asset endpoint 2026-05-11 16:34:28 +02:00
harisreedhar e3aa3d15f5 upload asset endpoint 2026-05-11 16:34:28 +02:00