Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: python -m pip install --upgrade mypy

- name: Install packages
run: python -m pip install pytest ./livekit-api ./livekit-protocol ./livekit-rtc pydantic
run: python -m pip install pytest ./livekit-api ./livekit-protocol ./livekit-rtc pydantic numpy

- name: Check Types
run: python -m mypy --install-type --non-interactive -p 'livekit-protocol' -p 'livekit-api' -p 'livekit-rtc'
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Run tests
run: |
python3 ./livekit-rtc/rust-sdks/download_ffi.py --output livekit-rtc/livekit/rtc/resources
pip3 install pytest ./livekit-protocol ./livekit-api ./livekit-rtc pydantic
pip3 install pytest ./livekit-protocol ./livekit-api ./livekit-rtc pydantic numpy
pytest . --ignore=livekit-rtc/rust-sdks
2 changes: 2 additions & 0 deletions livekit-rtc/livekit/rtc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
from .video_source import VideoSource
from .video_stream import VideoFrameEvent, VideoStream
from .audio_resampler import AudioResampler, AudioResamplerQuality
from .apm import AudioProcessingModule
from .utils import combine_audio_frames
from .rpc import RpcError, RpcInvocationData
from .synchronizer import AVSynchronizer
Expand Down Expand Up @@ -163,5 +164,6 @@
"TextStreamWriter",
"ByteStreamReader",
"ByteStreamWriter",
"AudioProcessingModule",
"__version__",
]
3 changes: 3 additions & 0 deletions livekit-rtc/livekit/rtc/_ffi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def dispose(self) -> None:
self._disposed = True
assert ffi_lib.livekit_ffi_drop_handle(ctypes.c_uint64(self.handle))

def __repr__(self) -> str:
return f"FfiHandle({self.handle})"


T = TypeVar("T")

Expand Down
124 changes: 69 additions & 55 deletions livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py

Large diffs are not rendered by default.

157 changes: 157 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
Loading