Skip to content

Commit 1052732

Browse files
update generate_proto.sh to handle data_stream.proto (#417)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6fecbbe commit 1052732

File tree

7 files changed

+1434
-6
lines changed

7 files changed

+1434
-6
lines changed

livekit-rtc/generate_proto.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ protoc \
3535
$FFI_PROTOCOL/e2ee.proto \
3636
$FFI_PROTOCOL/stats.proto \
3737
$FFI_PROTOCOL/track_publication.proto \
38-
$FFI_PROTOCOL/rpc.proto
38+
$FFI_PROTOCOL/rpc.proto \
39+
$FFI_PROTOCOL/data_stream.proto
3940

4041
touch -a "$FFI_OUT_PYTHON/__init__.py"
4142

4243
for f in "$FFI_OUT_PYTHON"/*.py "$FFI_OUT_PYTHON"/*.pyi; do
43-
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))|from . $1|g' "$f"
44+
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))|from . $1|g' "$f"
4445
done

livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py

Lines changed: 148 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)