Commit Graph
7 Commits
Author SHA1 Message Date
Henry Ruhs 35e68d17e1 move stream mode to query parameter (#1089) 2026-05-08 19:16:40 +02:00
henryruhs f843e45272 refactor detect_websocket_stream_mode and related tests a bit, disable broken tests 2026-05-08 17:20:29 +02:00
Harisreedhar 6047463154 Replace aiortc with libdatachannel direct pipeline (#1083)
* fix stdin close error

* Refactor stream endpoint, fix encoder thread safety and improve tests

* fix and improve test

* remove not None

* use Enum

* use Enum and add todo

* remove poll
2026-04-30 18:26:10 +05:30
Harisreedhar cb086e9437 Add stream helper utilities and IVF frame iterator (#1082)
* Add stream helper utilities and IVF frame iterator

* fix lint

* some cosmetics

* fix lint

* changes

* improve test

* improve types and test

* add todo for better bitrate calculation
2026-04-28 23:04:27 +05:30
Harisreedhar b30dcf6364 Dynamic bitrate for webrtc stream (#1063)
* use custom aiortc

* update naming to bitrate_
2026-03-20 18:39:19 +05:30
henryruhs 85f097d85c fix stream of videos 2026-03-17 14:03:10 +01:00
Harisreedharandhenryruhs ab24cd3f2e 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-03-17 14:02:40 +01:00