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

RPC implementation + FFI #461

Merged
merged 110 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from 107 commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
ba86cba
Add types
bcherry Oct 2, 2024
6955a63
gen proto
bcherry Oct 2, 2024
a3ee2c5
callback
bcherry Oct 2, 2024
33d3712
wip
bcherry Oct 3, 2024
a16a936
wip
bcherry Oct 3, 2024
41d2bae
Merge remote-tracking branch 'origin/main' into bcherry/rpc
bcherry Oct 3, 2024
e8a96da
proto
bcherry Oct 3, 2024
b94b75b
error
bcherry Oct 3, 2024
3b11a9a
wip
bcherry Oct 3, 2024
0166444
Builds and passes
bcherry Oct 4, 2024
e0da69a
close
bcherry Oct 4, 2024
0b905cd
string
bcherry Oct 4, 2024
4d9a899
string
bcherry Oct 4, 2024
7848248
Fixes
bcherry Oct 4, 2024
afe96cf
more fixes
bcherry Oct 4, 2024
27523b4
initial example
bcherry Oct 5, 2024
b523012
wip
bcherry Oct 5, 2024
45c4046
compiling
bcherry Oct 5, 2024
ce8083b
almost
bcherry Oct 5, 2024
acfe898
close
bcherry Oct 5, 2024
bd8a78c
somewhat working
bcherry Oct 5, 2024
2edec8d
working sample
bcherry Oct 5, 2024
5a35fd2
cleanup
bcherry Oct 5, 2024
b139025
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 7, 2024
22c6399
ffi building
bcherry Oct 7, 2024
0aa4768
delegate method
bcherry Oct 7, 2024
d703aba
ffi
bcherry Oct 7, 2024
b1e4ef4
Fixes
bcherry Oct 7, 2024
3a7d673
remove dead code
bcherry Oct 7, 2024
6d41c9b
Logging
bcherry Oct 7, 2024
d0e6004
fixes
bcherry Oct 7, 2024
c08ebe8
fix
bcherry Oct 7, 2024
37f77cd
fix
bcherry Oct 7, 2024
6412382
logging
bcherry Oct 7, 2024
5ae3b6b
comment out'
bcherry Oct 7, 2024
e9e6c2d
handle
bcherry Oct 8, 2024
c62dc0e
room handle
bcherry Oct 8, 2024
8d8e55a
Revert "room handle"
bcherry Oct 8, 2024
9041d2b
handle
bcherry Oct 8, 2024
e8131e0
cb
bcherry Oct 8, 2024
217e3dd
cleanup example
bcherry Oct 8, 2024
817d301
cleanup debug logs
bcherry Oct 8, 2024
29fc1b5
cleanup other logs
bcherry Oct 8, 2024
b19ab56
remove some logging
bcherry Oct 8, 2024
324f79a
SimplifyW
bcherry Oct 8, 2024
97ccfb7
errors
bcherry Oct 8, 2024
c900a86
fixes
bcherry Oct 8, 2024
00f7687
fixes
bcherry Oct 8, 2024
fa69866
fmt
bcherry Oct 8, 2024
269bdad
waiter
bcherry Oct 8, 2024
d0cc8e6
10k
bcherry Oct 8, 2024
bafce08
sender->caller
bcherry Oct 8, 2024
bc86621
update example
bcherry Oct 8, 2024
565834e
perform_rpc_request->perform_rpc
bcherry Oct 8, 2024
c4db888
move methods to participant
bcherry Oct 8, 2024
f753641
fmt
bcherry Oct 8, 2024
35df5e4
cleanup
bcherry Oct 8, 2024
3f11cb0
ms
bcherry Oct 8, 2024
b37ef6e
opt
bcherry Oct 8, 2024
089b748
panics
bcherry Oct 8, 2024
f263792
fmt
bcherry Oct 8, 2024
aef5107
remove conn
bcherry Oct 10, 2024
b3f7d79
use webrtc uuid
bcherry Oct 11, 2024
4945078
Move waiter
bcherry Oct 11, 2024
d410041
refactor for readability
bcherry Oct 11, 2024
31caad9
Simplify
bcherry Oct 11, 2024
0f566e8
uui
bcherry Oct 11, 2024
e524f38
flat
bcherry Oct 11, 2024
bf61945
fmt
bcherry Oct 11, 2024
6c103fb
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 11, 2024
f321ecd
fix?
bcherry Oct 11, 2024
48b4d22
fmt
bcherry Oct 11, 2024
a89ca49
unused imports
bcherry Oct 11, 2024
81c458a
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 15, 2024
10d6632
start time
bcherry Oct 15, 2024
73106cf
better
bcherry Oct 15, 2024
961f3b6
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 18, 2024
e78c196
fix
bcherry Oct 18, 2024
261985d
store rpc state in one spot
bcherry Oct 18, 2024
d50c2b9
macro
bcherry Oct 18, 2024
3e0ca0e
opts
bcherry Oct 18, 2024
b7c748a
rusty
bcherry Oct 18, 2024
2fe4940
simplify
bcherry Oct 18, 2024
d848d68
rm
bcherry Oct 18, 2024
f04dd41
fmt
bcherry Oct 18, 2024
17967c4
remove initial wait
bcherry Oct 18, 2024
ce7c79b
Revert "Merge remote-tracking branch 'origin/main' into bcherry/rpc-f…
bcherry Oct 18, 2024
23c2a7c
fix
bcherry Oct 18, 2024
49c10d7
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 21, 2024
35e7985
v
bcherry Oct 21, 2024
17093bb
fix pb2
bcherry Oct 21, 2024
b1f3e07
proto
bcherry Oct 21, 2024
67016e3
commit
bcherry Oct 21, 2024
3def852
p
bcherry Oct 21, 2024
8cb1d5c
123
bcherry Oct 21, 2024
b4b5d9e
p
bcherry Oct 21, 2024
d84caf9
stats
bcherry Oct 22, 2024
16cff80
wip
bcherry Oct 22, 2024
13e254a
wip
bcherry Oct 22, 2024
60bab84
wip
bcherry Oct 22, 2024
ce48a34
import
bcherry Oct 22, 2024
865cdcf
add min version check
bcherry Oct 23, 2024
c139217
remove empty callbacks
bcherry Oct 23, 2024
90a5dc0
fixes
bcherry Oct 23, 2024
757ec34
rm
bcherry Oct 23, 2024
d7511a6
1
bcherry Oct 23, 2024
65751ea
fmt
bcherry Oct 23, 2024
e17c25b
jr
bcherry Oct 23, 2024
cb32298
fmt
bcherry Oct 23, 2024
5742ac4
Merge remote-tracking branch 'origin/main' into bcherry/rpc-full
bcherry Oct 24, 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
3 changes: 2 additions & 1 deletion Cargo.lock

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

62 changes: 60 additions & 2 deletions examples/Cargo.lock

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

1 change: 1 addition & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ members = [
"wgpu_room",
"webhooks",
"api",
"rpc",
]
13 changes: 13 additions & 0 deletions examples/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "rpc_example"
version = "0.1.0"
edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full"] }
env_logger = "0.10"
livekit = { path = "../../livekit", features = ["native-tls"]}
livekit-api = { path = "../../livekit-api"}
log = "0.4"
rand = "0.8"
serde_json = "1.0"
Loading
Loading