Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Sep 26, 2024
1 parent 7a9311a commit c1d0429
Show file tree
Hide file tree
Showing 11 changed files with 547 additions and 60 deletions.
3 changes: 3 additions & 0 deletions livekit-rtc/livekit/rtc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
)
from .video_source import VideoSource
from .video_stream import VideoFrameEvent, VideoStream
from .audio_resampler import AudioResampler, AudioResamplerQuality

__all__ = [
"ConnectionQuality",
Expand Down Expand Up @@ -127,5 +128,7 @@
"VideoStream",
"ChatManager",
"ChatMessage",
"AudioResampler",
"AudioResamplerQuality",
"__version__",
]
8 changes: 4 additions & 4 deletions livekit-rtc/livekit/rtc/_ffi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ class FfiClient:
_instance: Optional["FfiClient"] = None

@classproperty
def instance(self):
if self._instance is None:
self._instance = FfiClient()
return self._instance
def instance(cls) -> "FfiClient":
if cls._instance is None:
cls._instance = FfiClient()
return cls._instance

def __init__(self) -> None:
self._lock = threading.RLock()
Expand Down
80 changes: 51 additions & 29 deletions livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1d0429

Please sign in to comment.