Skip to content

Commit c69e4e2

Browse files
Latest FFI with memory leak fixes (#829)
1 parent 175859a commit c69e4e2

7 files changed

Lines changed: 576 additions & 33 deletions

File tree

‎livekit-rtc/generate_proto.sh‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ protoc \
3737
$FFI_PROTOCOL/stats.proto \
3838
$FFI_PROTOCOL/track_publication.proto \
3939
$FFI_PROTOCOL/rpc.proto \
40-
$FFI_PROTOCOL/data_stream.proto
40+
$FFI_PROTOCOL/data_stream.proto \
41+
$FFI_PROTOCOL/capture.proto
4142

4243
touch -a "$FFI_OUT_PYTHON/__init__.py"
4344

4445
for f in "$FFI_OUT_PYTHON"/*.py "$FFI_OUT_PYTHON"/*.pyi; do
45-
perl -i -pe 's|^(import (audio_frame_pb2\|ffi_pb2\|handle_pb2\|participant_pb2\|room_pb2\|track_pb2\|video_frame_pb2\|e2ee_pb2\|stats_pb2\|rpc_pb2\|track_publication_pb2\|data_stream_pb2\|data_track_pb2))|from . $1|g' "$f"
46+
perl -i -pe 's|^(import (audio_frame_pb2\|ffi_pb2\|handle_pb2\|participant_pb2\|room_pb2\|track_pb2\|video_frame_pb2\|e2ee_pb2\|stats_pb2\|rpc_pb2\|track_publication_pb2\|data_stream_pb2\|data_track_pb2\|capture_pb2))|from . $1|g' "$f"
4647
done

‎livekit-rtc/livekit/rtc/_proto/capture_pb2.py‎

Lines changed: 62 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)