Commit Graph

178 Commits

Author SHA1 Message Date
Freddy Boulton
837330dcd8 Cloudflare turn integration (#264)
* Turn integration

* Add code:

* type hint

* Fix typehint

* add code

* format

* WIP

* trickle ice

* bump version

* Better docs

* Modify

* code

* Mute icon for whisper

* Add code

* llama 4 demo

* code

* OpenAI interruptions

* fix docs
2025-04-09 09:36:51 -04:00
Marcus Valtonen Örnhag
f70b27bd41 Enforce modern typing (#258)
* Allow UP

* Upgrade typing

* test smolagents

* Change to contextlib

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-04-08 16:46:12 -04:00
Erik Wasmosy
a07e9439b6 Add started_talking log message in ReplyOnPause and in api.md (#260) 2025-04-07 17:35:53 -04:00
Marcus Valtonen Örnhag
2331079c0f Introduce unit tests (#248)
* Proof-of-concept: unittests

* Add pytest-asyncio dep

* Import Body from stream

* Add test for allow_extra_tracks

* Cleanup decorators

* add test to linting

* fix ruff issues

* Run formatter

* fix

* Dont test every python version

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-04-07 17:35:25 -04:00
Marcus Valtonen Örnhag
0767030997 Introduce static type checking with pyright (#255) 2025-04-05 14:19:05 -04:00
Freddy Boulton
d7995b8116 Dont run docs ci on prs from forks (#257) 2025-04-04 15:38:55 -04:00
Freddy Boulton
3147b5979c Add API Reference and llms.txt (#256)
* stream api reference

* docs

* Add code

* Add code

* code
2025-04-04 15:32:06 -04:00
Marcus Valtonen Örnhag
948a479601 Introduce automatic linting with Github workflows (#251)
* Add linters

* use other setup-python version

* Use string instead

* Add more linting

* Fix tests

* minor changes

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-04-04 12:36:35 -04:00
Freddy Boulton
c93176d83a Add code (#254) 2025-04-04 12:08:46 -04:00
Freddy Boulton
8dd17d3216 Add ability to trigger ReplyOnPause without waiting for pause (#250)
* Add code

* Send text or audio demo
2025-04-03 20:19:50 -04:00
Marcus Valtonen Örnhag
aed34825e3 Allow extra tracks (#231) (#249)
* Allow extra tracks (#231)

* Add allow_extra_tracks to WebRTC component

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-04-03 19:13:13 -04:00
Freddy Boulton
e89f0699b5 MIT license (#246) 2025-04-03 13:56:18 -04:00
Freddy Boulton
d07bb41a9e Fix (#242) 2025-04-02 18:31:08 -04:00
Freddy Boulton
cfde58fce6 Add code (#241) 2025-04-02 16:39:50 -04:00
Václav Volhejn
cc8d82f233 Improve error handling for websockets (#238)
* Improve error handling for websockets

* Correctly run clean_up
2025-04-02 16:29:03 -04:00
Václav Volhejn
06885d06c4 Ignore output_frame_size parameter (#210) 2025-04-01 14:10:27 -04:00
Marcus Valtonen Örnhag
1f0462371e Improve error message if track kind and modality mismatch (#230)
Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-04-01 14:05:53 -04:00
Freddy Boulton
5636736c56 bump version (#226) 2025-03-31 13:03:27 -04:00
Freddy Boulton
f742c93235 add code (#223) 2025-03-28 21:12:58 -04:00
Freddy Boulton
8ed27fba78 Close Stream from Backend (#222)
* Close from backend

* Add code
2025-03-28 20:47:34 -04:00
Siddharth Garg
71743acb64 Add Kroko-ASR model to STT gallery (#219) 2025-03-28 12:37:58 -04:00
Marcus Valtonen Örnhag
e3f08f87f2 Remove twice instantiated event (#221)
Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
2025-03-28 12:25:24 -04:00
Freddy Boulton
6235b2de61 Add text-to-speech-gallery + reword galleries to be "Plugin Ecosystem" (#218)
* Add code

* Update docs/text_to_speech_gallery.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/text_to_speech_gallery.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-27 19:06:52 -04:00
Freddy Boulton
b18f6331a3 Add code (#212) 2025-03-25 14:45:23 -04:00
Freddy Boulton
7692ffad00 Add code (#211) 2025-03-25 14:42:46 -04:00
Freddy Boulton
e231f793e8 trigger release (#201)
* trigger release

* add code
2025-03-20 21:01:13 -04:00
Freddy Boulton
6742894d3d Add support for trickle ice (#193)
* cherry-pick trickle-ice

* Add code

* Add code

* format
2025-03-20 20:50:45 -04:00
Freddy Boulton
3fed4cb2ad Some Video Fixes (#200)
* FPS control:

* add code

* Add code
2025-03-20 20:45:46 -04:00
Freddy Boulton
bce7cb95a6 Add code (#197) 2025-03-20 14:47:20 -04:00
Sourabh
ea36257abf Added HumAwareVAD to VAD Gallery (#194) 2025-03-20 14:41:39 -04:00
Václav Volhejn
3fc441a6f0 Create py.typed (#196) 2025-03-20 14:24:45 -04:00
Freddy Boulton
728a366924 Add js assets (#192) 2025-03-19 12:19:57 -04:00
Freddy Boulton
103381dac2 bump version (#190) 2025-03-18 21:43:58 -04:00
Freddy Boulton
2a70b4f3ed add code (#189) 2025-03-18 21:38:00 -04:00
Freddy Boulton
44aac8d964 Fix issue when the audio stream mixes sample rates and numpy array data types (#188)
* Fix code

* Fix

* keep same
2025-03-18 18:53:47 -04:00
Václav Volhejn
5a196868dd Fix outdated import (#185) 2025-03-18 12:12:28 -04:00
Freddy Boulton
93b14aae94 Fast phone (#183) 2025-03-17 12:22:03 -04:00
MechanicCoder
efff9d44dc Add example for "Talk to Azure OpenAi" (#181)
* Add example for "Talk to Azure OpenAi"

* Code

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-03-17 12:15:22 -04:00
Sofia Casadei
3ae8f89ad5 Add on-device whisper example to cookbook (#179) 2025-03-16 18:25:49 -04:00
swairshah
8a1b15d620 add fastrc with Elecron app example to cookbook (#178) 2025-03-16 18:24:49 -04:00
Freddy Boulton
c9b67726ba Add code (#173) 2025-03-13 19:56:37 -04:00
Freddy Boulton
4fb28f3bf2 0.0.15 (#172) 2025-03-13 19:01:27 -04:00
Sofian Mejjoute
66f0a81b76 feat: Add optional startup function to ReplyOnPause (#170)
* feat: Add optional startup function to ReplyOnPause

* feat: Implement startup_fn in ReplyOnStopWords

* refactor: Remove redundant startup_fn implementation in ReplyOnStopWords

* tweaks

* revert

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-03-11 19:11:29 -04:00
Freddy Boulton
514310691d Bump version (#164)
* Code'

* fix
2025-03-11 13:05:39 -04:00
Freddy Boulton
24ed2ca178 Add docs on how to contribute (#161)
* Add code

* add code

* Add code
2025-03-10 17:23:25 -04:00
Freddy Boulton
ee049cd4bc Add code (#160) 2025-03-10 17:03:54 -04:00
Ryan Ellis
7ad579c07a Added to gallery (#159)
* Added to gallery

* Add code

* Fix

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-03-10 15:17:07 -04:00
Freddy Boulton
51f1fafa3a Add microphone mute (#158)
* Add code

* add code
2025-03-10 14:53:08 -04:00
Freddy Boulton
ed59834378 Fix Warning (#157) 2025-03-10 13:17:47 -04:00
Sourabh
de95bc2caa fix: ensure 'model' is copied in ReplyOnPause.copy() (#155) 2025-03-10 11:44:43 -04:00