Skip to content

Commit

Permalink
include missing track_publications
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Dec 29, 2024
1 parent c1cdebc commit 455a2bd
Show file tree
Hide file tree
Showing 23 changed files with 908 additions and 829 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-rtc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- uses: actions/setup-python@v4

- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: "25.1"
version: "26.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install deps
Expand All @@ -55,7 +55,6 @@ jobs:
default_author: github_actions
message: generated protobuf


build_wheels:
name: Build RTC wheels (${{ matrix.archs }})
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion livekit-rtc/generate_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ protoc \
$FFI_PROTOCOL/video_frame.proto \
$FFI_PROTOCOL/e2ee.proto \
$FFI_PROTOCOL/stats.proto \
$FFI_PROTOCOL/track_publication.proto \
$FFI_PROTOCOL/rpc.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\|stats_pb2\|rpc_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\|rpc_pb2\|track_publication_pb2))|from . $1|g' "$f"
done
16 changes: 13 additions & 3 deletions livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py

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

205 changes: 102 additions & 103 deletions livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py

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

129 changes: 64 additions & 65 deletions livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi

Large diffs are not rendered by default.

18 changes: 14 additions & 4 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 455a2bd

Please sign in to comment.