Add support for trickle ice (#193)

* cherry-pick trickle-ice

* Add code

* Add code

* format
This commit is contained in:
Freddy Boulton
2025-03-20 20:50:45 -04:00
committed by GitHub
parent 3fed4cb2ad
commit 6742894d3d
6 changed files with 136 additions and 46 deletions

View File

@@ -5,6 +5,7 @@ from typing import (
AsyncContextManager,
Callable,
Literal,
Optional,
TypedDict,
cast,
)
@@ -28,7 +29,8 @@ curr_dir = Path(__file__).parent
class Body(BaseModel):
sdp: str
sdp: Optional[str] = None
candidate: Optional[dict[str, Any]] = None
type: str
webrtc_id: str