Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use livekit's Rust SDK instead of their swift SDK #13343

Merged
merged 68 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
aa6dd68
Start work on using livekit's Rust SDK instead of their swift SDK
maxbrunsfeld Jun 19, 2024
5ed5c90
Initialize dispatcher for livekit
maxbrunsfeld Jun 21, 2024
33c7ead
Start implementing playing of remote audio tracks
maxbrunsfeld Jun 21, 2024
971d754
:art: Rename fns
maxbrunsfeld Jun 22, 2024
9de1cb4
Configure audio output stream to match webrtc source stream
maxbrunsfeld Jun 24, 2024
2532740
Wire up screen sharing in livekit test app
maxbrunsfeld Jun 24, 2024
233eb92
Fix some warnings
maxbrunsfeld Jun 24, 2024
8dfe3b0
Tweak livekit example app
maxbrunsfeld Jun 24, 2024
3ab56f7
Retain screen capture sources
maxbrunsfeld Jun 24, 2024
84d3a81
Start making screen capture work
maxbrunsfeld Jun 24, 2024
5a97a95
Fix obj-c selector in MacScreenCaptureStream::drop
maxbrunsfeld Jun 25, 2024
8d739e0
Wire up more logic for screen sharing
maxbrunsfeld Jun 25, 2024
0ac44ab
Use H264 codec for screen sharing
maxbrunsfeld Jun 26, 2024
48bdd23
Use RemoteVideoTrackView in SharedScreen view
maxbrunsfeld Jun 26, 2024
9348a4f
Play audio tracks that are published
maxbrunsfeld Jun 26, 2024
bc3bb5c
Bump livekit sha
maxbrunsfeld Jun 26, 2024
641749e
Fix issues with test livekit client
maxbrunsfeld Jun 26, 2024
4c2aa8e
Update live_kit_client crate description
maxbrunsfeld Jun 26, 2024
c388dd6
Remove todos in livekit test client
maxbrunsfeld Jun 26, 2024
ec0b6a1
Fix platform ScreenCaptureFrame definitions
maxbrunsfeld Jun 26, 2024
33e0fbb
Conditionally compile mac-specific logic in live_kit_client
maxbrunsfeld Jun 26, 2024
8856e34
Fix live_kit_client build errors on linux
maxbrunsfeld Jun 26, 2024
dae7ab5
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Jun 26, 2024
c5bffa6
Only add the obj-c link arg on mac
maxbrunsfeld Jun 26, 2024
87f1494
Remove spurious dependencies in non-mac builds of livekit client
maxbrunsfeld Jun 26, 2024
3f78cb8
Fix some livekit integration tests
maxbrunsfeld Jun 27, 2024
a00fe51
Don't try to retrieve audio device in tests
maxbrunsfeld Jun 27, 2024
df617bd
Remove unwraps in audio handling
maxbrunsfeld Jun 27, 2024
4c9f398
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Jun 28, 2024
558b57c
Fix initialization of muted state on remote participants
maxbrunsfeld Jun 28, 2024
2318283
Make TrackPublication::track work properly for fake livekit
maxbrunsfeld Jun 28, 2024
a615bac
Downgrade livekit to fix audio frame queuing bug
maxbrunsfeld Jun 28, 2024
33d6612
Add deafening to livekit test app
maxbrunsfeld Jun 28, 2024
1b9626b
Stop newly subscribed audio tracks when deafened
maxbrunsfeld Jun 28, 2024
3aa6145
Remove unwrap on test server event sending
maxbrunsfeld Jun 28, 2024
3d30e48
Make test media streams return pending
maxbrunsfeld Jun 28, 2024
ba8a0ec
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Jun 28, 2024
78f3e5d
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Jul 8, 2024
f72e9d3
Don't actually capture audio in tests
maxbrunsfeld Jul 8, 2024
88fd445
Bump livekit crate for deafening fix
maxbrunsfeld Jul 16, 2024
dcc24b0
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Jul 16, 2024
d80b4ca
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Aug 16, 2024
d47ccdb
Bump livekit for boringSSL symbol conflict fix
maxbrunsfeld Aug 16, 2024
48b4c3e
Fix clippy warning
maxbrunsfeld Aug 16, 2024
03103e8
Merge branch 'main' into livekit-rust-sdk
maxbrunsfeld Sep 2, 2024
8fb86c3
Add all_load linker flag to cargo config
maxbrunsfeld Sep 2, 2024
530e623
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Oct 2, 2024
173cb7d
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Oct 30, 2024
8f7b3db
Disable livekit for Windows
SomeoneToIgnore Nov 1, 2024
3709016
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Nov 1, 2024
0ee75ca
Fix the formatting
SomeoneToIgnore Nov 1, 2024
a296553
Properly exclude Windows
SomeoneToIgnore Nov 1, 2024
f64512a
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Nov 12, 2024
82f4f89
Use latest livekit-rust-sdk
SomeoneToIgnore Nov 12, 2024
76936fa
Small clippy fix
SomeoneToIgnore Nov 12, 2024
72939bc
Provide HttpClient impl to our fork of LiveKit
mgsloan Nov 13, 2024
2d6800c
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Nov 14, 2024
2d443c4
Make Windows build compile
SomeoneToIgnore Nov 14, 2024
ae7d7b8
More fixes for the binaries to compile
SomeoneToIgnore Nov 14, 2024
7b827e7
Fix other platforms
SomeoneToIgnore Nov 14, 2024
1f3407e
Test lib fixes
SomeoneToIgnore Nov 14, 2024
8d271bc
Enable the microphone in the UI
SomeoneToIgnore Nov 15, 2024
d099ac4
Move cpal override into the patch section
SomeoneToIgnore Nov 15, 2024
01ea28c
Merge branch 'main' into livekit-rust-sdk
SomeoneToIgnore Nov 15, 2024
e914eae
Feature-gate Linux audio for now
SomeoneToIgnore Nov 15, 2024
9aa1468
Small style fix
SomeoneToIgnore Nov 15, 2024
41a10fe
Final fixes before macOS release
SomeoneToIgnore Nov 15, 2024
80c6fc9
Linux: Fixed the tests, hid the screenshare
SomeoneToIgnore Nov 15, 2024
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
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ rustflags = ["-C", "link-arg=-fuse-ld=mold"]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-args=-Objc -all_load"]

[target.x86_64-apple-darwin]
rustflags = ["-C", "link-args=-Objc -all_load"]

# This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
[target.'cfg(target_os = "windows")']
rustflags = ["--cfg", "windows_slim_errors"]
Loading
Loading