dry-elephant-14928
12/24/2022, 8:01 AMdry-elephant-14928
01/11/2023, 6:33 PMbrief-refrigerator-69901
01/11/2023, 9:31 PMicy-fountain-27046
02/04/2023, 11:35 PMdry-elephant-14928
02/07/2023, 2:05 AMclean-garden-50991
03/15/2023, 6:29 AMerror: process didn't exit successfully: c:\FF\client-sdk-rust\examples\target\release\simple_room.exe (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Is this a known issue?
2. More generally - I note the readme states one of the goals as:
Build a standalone, cross-platform LiveKit client SDK for Rustaceans.Our project is cross platform (desktop, web, iOS, Android) with common client-side code built in Rust (UI in other languages, varies by platform). When the stated goal is "cross-platform" - what is the scope, in terms of platform support? I see Windows, Mac, iOS, and Android in the webrtc-sys build.rs I assume Linux is planned, but WebAssembly is out of scope? iOS and Android? I ask because it would be great to have a single Rust codebase that can target all platforms (desktop, iOS, Android), other than the UI layer on top of course. Is that the intention here? Of course, we can instead integrate with platform-specific LiveKit clients (Android, iOS, React Native, etc), which is workable alternative. 3. Are you able to share any sort of roadmap or ETAs for the Rust client? i.e., do you have an estimate for when it will be largely feature complete? Thanks.
important-ram-81230
03/20/2023, 4:23 PMcool-notebook-80441
04/20/2023, 7:42 PMambitious-lunch-95812
04/25/2023, 3:45 AMlivekit-cli join-room .. --publish h264://..
-- this isn't ideal since:
1. It requires a separate process for each participant
2. (more importantly) It uses the server credentials, rather than a join token
I'd like to take my GStreamer pipeline directly to Livekit using the Rust SDK, but I'm having trouble understanding how I can create a publish video track that didn't originate from livekit webrtcjolly-afternoon-46245
04/25/2023, 9:15 PMbrew install protobuf
Now, I’m getting a linking error:
error: failed to run custom build command for `webrtc-sys v0.1.1 (<https://github.com/livekit/client-sdk-rust#main#a5caf129>)`
Caused by:
process didn't exit successfully: `/Users/cole/autoplay/craft/target/debug/build/webrtc-sys-ae8729e557fd0c78/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld[7331]: Library not loaded: @rpath/libbz2.1.dylib
Referenced from: <0AFDF875-749F-3995-B4DC-93C95538B617> /Users/cole/autoplay/craft/target/debug/build/webrtc-sys-ae8729e557fd0c78/build-script-build
Reason: tried: '/Users/cole/autoplay/craft/target/debug/deps/libbz2.1.dylib' (no such file), '/Users/cole/autoplay/craft/target/debug/libbz2.1.dylib' (no such file), '/Users/cole/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libbz2.1.dylib' (no such file), '/Users/cole/.rustup/toolchains/stable-aarch64-apple-darwin/lib/libbz2.1.dylib' (no such file), '/Users/cole/lib/libbz2.1.dylib' (no such file), '/usr/local/lib/libbz2.1.dylib' (no such file), '/usr/lib/libbz2.1.dylib' (no such file, not in dyld cache), '/Users/cole/autoplay/craft/target/debug/build/zstd-sys-68a5717b1c36b3f2/out/libbz2.1.dylib' (no such file)
ambitious-lunch-95812
04/27/2023, 12:36 PMambitious-lunch-95812
04/30/2023, 1:00 AMS16be
-- as Livekit expects.
2. I also generate a GStreamer AudioInfo
which will report the n_samples (1024
), channels (2
) & rate (48000
)
3. I can decode the buffer using the AudioInfo
, which formats the buffer as a &[u8]
4. I then convert the buffer slice into a Vec<i16>
using byteorder
(which handles the boundary edge conditions and such)
Unfortunately, the audio track never seems to join Livekit... I swapped in the sine track as a test, and it joins up fine, so I suspect there's something invalid about my audio frame
https://github.com/spiegela/gstreamer-livekitincalculable-ambulance-68856
05/01/2023, 5:29 PMclient-sdk-rust
on my ubuntu-22.10 and I am running into issues building with the following error.
error: failed to run custom build command for `livekit-protocol v0.1.0 (/home/ggovindan/client-sdk-rust/livekit-protocol)`
Caused by:
process didn't exit successfully: `/home/ggovindan/client-sdk-rust/target/debug/build/livekit-protocol-745ac081750311d3/build-script-build` (exit status: 1)
--- stderr
Error: Custom { kind: Other, error: "protoc failed: Could not make proto path relative: protocol/livekit_egress.proto: No such file or directory\n" }
Appreciate any pointers to what I might be missing.incalculable-ambulance-68856
05/08/2023, 8:22 PM<http://example.livekit.io|example.livekit.io>
. Am I missing something? I am running on ubuntu 22.10.
The segmentation fault seems to happen in
Room::connect(&url, &token).await;
I tried running it in gdb and got this
Thread 1 "spotwebrtc" received signal SIGSEGV, Segmentation fault.
___pthread_rwlock_wrlock (rwlock=0x0) at ./nptl/pthread_rwlock_wrlock.c:26
ambitious-lunch-95812
05/12/2023, 12:56 AMinvalid claims: token grants room_join but doesn't have an identity
The breakage starts with commit `1c12e74` and looks related to this change, I think?ambitious-lunch-95812
05/12/2023, 3:38 AMprotoc
argument:
#0 117.3 error: failed to run custom build command for `livekit-protocol v0.1.0 (<https://github.com/livekit/client-sdk-rust.git?rev=a5caf12#a5caf129>)`
#0 117.3
#0 117.3 Caused by:
#0 117.3 process didn't exit successfully: `/usr/src/rtsp-publisher/target/release/build/livekit-protocol-11624bcec5533409/build-script-build` (exit status: 1)
#0 117.3 --- stderr
#0 117.3 Error: Custom { kind: Other, error: "protoc failed: livekit_room.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.\n" }
Here's a PR to add the indicated build arg: https://github.com/livekit/client-sdk-rust/pull/65ambitious-lunch-95812
05/16/2023, 5:04 AMldd
shows everything linked, the seg-faults on startup. Any ideas?ambitious-lunch-95812
05/22/2023, 3:58 PMlibpthread
through webrtc-sys
on Ubuntu 22.04... I've tried nearly everything I can come up with. I thought it might not be discovering the path, so I copied /lib/aarch64-linux-gnu/libpthread.so.0
to /lib
,/usr/lib
, /usr/local/lib
as both libpthread.so.0
and libpthread.so
...
I've tried a multitude of options in the webrtc-sys
build script, but none of them have linked libpthread. I found this post, so I wonder if the issue couldn't be the GCC version?enough-zebra-80131
05/24/2023, 2:51 PMlibwebrtc
is higher level than that, so to achieve what I need I'd need to make changes to libwebrtc
itself. Is my reasoning correct?enough-zebra-80131
05/25/2023, 7:32 AMlibwebrtc
bundled in webrtc-sys
- I'm setting the LK_CUSTOM_WEBRTC
flag, but it seems to require libwebrtc
to already have been built before. By running build_macos.sh
it downloads depot_tools and attempts to compile, but I'm getting a fatal error: 'cxxabi.h' file not found
error. Which steps am I missing?enough-zebra-80131
05/25/2023, 12:38 PMenough-zebra-80131
05/25/2023, 4:51 PMlivekit-protocol
on both mac and linux:
~/src/client-sdk-rust/livekit-protocol$ cargo build
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/gbuzogany/src/client-sdk-rust/livekit-ffi/Cargo.toml
workspace: /home/gbuzogany/src/client-sdk-rust/Cargo.toml
Compiling livekit-protocol v0.1.0 (/home/gbuzogany/src/client-sdk-rust/livekit-protocol)
error[E0432]: unresolved import `futures_util::sink`
--> livekit-protocol/src/observer.rs:1:19
|
1 | use futures_util::sink::Sink;
| ^^^^ could not find `sink` in `futures_util`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `livekit-protocol` due to previous error
has anybody seen anything like this before?enough-zebra-80131
05/31/2023, 3:08 PMenough-zebra-80131
06/01/2023, 8:25 AMclient-sdk-rust
doesn't seem to be able to receive H264 streams 🤔. If I change videoCodec
and backupCodec
to h264
in the client (browser), the client-sdk-rust
connecting to the same room just keeps re-negotiating forever