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
This commit is contained in:
Freddy Boulton
2025-04-09 09:36:51 -04:00
committed by GitHub
parent f70b27bd41
commit 837330dcd8
37 changed files with 2914 additions and 780 deletions

View File

@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
[project]
name = "fastrtc"
version = "0.0.19"
version = "0.0.20.rc2"
description = "The realtime communication library for Python"
readme = "README.md"
license = "MIT"
@@ -84,7 +84,7 @@ packages = ["/backend/fastrtc"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
src = ["demo", "backend/fastrtc", "test"]
@@ -99,19 +99,10 @@ skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"Q",
"I",
"UP",
]
select = ["E", "F", "W", "Q", "I", "UP"]
# These can be turned on when the framework is more mature (Too many errors right now)
exclude = [
"D",
]
exclude = ["D"]
# Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]
@@ -125,13 +116,10 @@ convention = "google"
[tool.pyright]
include = ["backend/fastrtc"]
exclude = [
"**/__pycache__",
"**/*.pyi",
]
exclude = ["**/__pycache__", "**/*.pyi"]
reportMissingImports = false
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
pythonPlatform = "Linux"