Skip to content

Commit

Permalink
initial stats
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Nov 3, 2023
1 parent 474f4d6 commit 55aefdc
Show file tree
Hide file tree
Showing 9 changed files with 1,731 additions and 56 deletions.
5 changes: 3 additions & 2 deletions livekit-rtc/generate_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ protoc \
$FFI_PROTOCOL/room.proto \
$FFI_PROTOCOL/track.proto \
$FFI_PROTOCOL/video_frame.proto \
$FFI_PROTOCOL/e2ee.proto
$FFI_PROTOCOL/e2ee.proto \
$FFI_PROTOCOL/stats.proto

touch -a "$FFI_OUT_PYTHON/__init__.py"

for f in "$FFI_OUT_PYTHON"/*.py "$FFI_OUT_PYTHON"/*.pyi; do
perl -i -pe 's|^(import (audio_frame_pb2\|ffi_pb2\|handle_pb2\|participant_pb2\|room_pb2\|track_pb2\|video_frame_pb2\|e2ee_pb2))|from . $1|g' "$f"
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))|from . $1|g' "$f"
done
32 changes: 16 additions & 16 deletions livekit-rtc/livekit/rtc/_proto/ffi_pb2.py

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

Loading

0 comments on commit 55aefdc

Please sign in to comment.