blue-grass-88145
03/02/2024, 10:21 PMstraight-river-10244
03/08/2024, 5:21 PMblue-grass-88145
05/09/2024, 2:10 PMblue-grass-88145
05/13/2024, 9:57 PMRoomEvent::TrackSubscribed
event after connecting to a room. When I run my livekit server locally I get the event like 6/10 times. feels random at the moment. Can I make a request to livekit to get the room event if i don't receive it after a while?blue-grass-88145
05/13/2024, 11:27 PMfaint-motorcycle-9442
05/19/2024, 12:55 PMastonishing-fireman-34897
07/12/2024, 2:54 PMnutritious-painter-9146
07/20/2024, 7:02 PMcloud-sdk-unity
for iOS build?nutritious-painter-9146
08/01/2024, 3:09 AMUnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[2024-08-01T03:04:45Z ERROR livekit_ffi::server::room] error while connecting to a room: engine: signal failure: ws failure: IO error: invalid peer certificate: UnknownIssuer
Failed to connect to the room !
<Start>d__11:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
nutritious-painter-9146
09/01/2024, 9:26 PMcargo run
My system is Ubuntu 22.04 (PopOS) I'm wondering if anyone have any ideas how to resolve this?nutritious-painter-9146
09/04/2024, 9:57 PMwebrtc-sys
. Is it supposed like this? or are there any local setup I'm missing?
This is coming from running cargo run
on rust-sdks/examples
rhythmic-cartoon-93693
09/09/2024, 5:40 AMfull-airline-19758
09/11/2024, 1:25 PMabundant-alligator-31938
10/30/2024, 4:20 AM// Resample the audio frame
let data_i16 = resampler.remix_and_resample(
&frame.data,
frame.samples_per_channel,
frame.num_channels,
frame.sample_rate,
num_channels,
sample_rate,
);
// Convert i16 samples to f32 before sending to cpal as cpal works with float samples
let data_f32: Vec<f32> = data_i16
.iter()
.map(|&sample| sample as f32 / i16::MAX as f32) // Normalize i16 to f32
.collect();
let _ = sender.send(data_f32).await; // Send the f32 samples to the cpal callback
The main issue is that there is quite a bit of buzz in the sound. Any idea how to fix this? I have a sample app in Flutter, where this low level audio handling is not required and it seems to have perfect audio.
2. The ActiveSpeakersChanged
event seems to be flaky. It immediately goes from a list of one member (when I start speaking) to empty list in an instant.dazzling-cartoon-1804
11/05/2024, 7:39 PMdazzling-cartoon-1804
11/06/2024, 9:02 AMdelightful-air-50398
11/07/2024, 12:57 PMbillions-monitor-73921
11/19/2024, 3:34 PMsave_to_disk
example on Linux arm64 (Raspbian to be precise).
It compiles fine, but the app crashes with the following:
free(): invalid pointer
[1] 20607 abort RUST_LOG=debug cargo run --bin livekit-test
By commenting bits out, I narrowed the issue down to the following line:
let (room, mut rx) = Room::connect(&url, &token, RoomOptions::default())
.await
.unwrap();
The LIVEKIT_URL
and LIVEKIT_TOKEN
env vars are set. Am I missing something basic here? Any way I can debug this further?
The exact same code runs fine on a Mac.magnificent-farmer-43889
12/04/2024, 6:09 PMmagnificent-art-43333
12/10/2024, 6:52 PMnarrow-library-62547
01/04/2025, 10:57 AMrust-sdks
. Regarding the server-sdk-go
, this library is primarily for server-side interactions. Since WebRTC is P2P-based, I'm wondering if I can use the server-sdk-go
library as the client SDK in the core layer? I don't fully understand the differences between the rust-sdks
and the server-sdk-go
. What I know is that media stream capture and platform-related features are likely implemented in Android or iOS layers, but I'm concerned about the differences between the rust-sdks
used in the core layer and the server-sdk-go
.
As far as I know, both libraries may only expose the core WebRTC interfaces, but I wonder if there are significant differences. Regarding using Go and Rust for the core layer, I already understand that Rust performs better, has smaller package sizes, and provides better client-side support. If we ignore these factors, can I directly use the server-sdk-go
to build a core layer like the rust-sdks
?
Apologies for the detailed question—this is based on the needs of our project. Our core layer is implemented in Go, but due to Go's runtime limitations, we cannot include two Go libraries simultaneously. So we are considering merging them into one SDK. However, we're unsure if the core capabilities of server-sdk-go
(which is designed for the server side) can be used similarly to the Rust rust-sdks
. We can add platform-specific features (e.g., Android and iOS), but we need to confirm whether this is feasible.
Thank you very much!adorable-furniture-4278
01/08/2025, 7:46 PMadorable-furniture-4278
01/08/2025, 8:04 PMadorable-furniture-4278
01/09/2025, 8:43 AMdry-farmer-50272
01/31/2025, 7:44 AMfamous-napkin-29496
02/18/2025, 8:41 AM# SIGSEGV (0xb) at pc=0x00007a7be9bfc1f1, pid=36709, tid=0x00007a7bd8c00640
#
# JRE version: Java(TM) SE Runtime Environment (8.0_333-b02) (build 1.8.0_333-b02)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.333-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [liblivekit_rust_sdk.so+0x1fc1f1] tokio::sync::mpsc::list::Tx$LT$T$GT$::push::h14314639d7a74154+0x11
#
Stack: [0x00007a7bd8a01000,0x00007a7bd8c01000], sp=0x00007a7bd8bfe6d0, free space=2037k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [liblivekit_rust_sdk.so+0x1fc1f1] tokio::sync::mpsc::list::Tx$LT$T$GT$::push::h14314639d7a74154+0x11
[error occurred during error reporting (printing native stack), id 0xb]
happy-ability-28669
03/11/2025, 6:59 PMsetVideoQuality
, but I can't find an equivalent on the Python side.dry-farmer-50272
03/25/2025, 9:08 PMfancy-ability-37340
06/23/2025, 5:51 PMconnect()
, it fails immediately and I get disconnected. I’ve already:
• Tried all the official Rust SDK examples
• Cross-checked community snippets
• Double-checked my Access Token and URL
…and I’m still stuck. 🤔
Has anyone run into this issue before or spotted something I might be overlooking? Any tips, pointers, or dark-horse workarounds are more than welcome! 🙏
Thanks a ton in advance! đź’Ş
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RTCVideoCodecInfo nativeSdpVideoFormat]: unrecognized selector sent to instance 0x157044e00'
*** First throw call stack:
(
0 CoreFoundation 0x000000018add2ca0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018a896b90 objc_exception_throw + 88
2 CoreFoundation 0x000000018ae8fb90 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000018ad40ddc ___forwarding___ + 1500
4 CoreFoundation 0x000000018ad40740 _CF_forwarding_prep_0 + 96
5 interscribe-desktop-app 0x0000000104263454 _ZNK6webrtc23ObjCVideoEncoderFactory19GetSupportedFormatsEv + 256
6 interscribe-desktop-app 0x00000001044c023c _ZNK7livekit19VideoEncoderFactory15InternalFactory19GetSupportedFormatsEv + 184
7 interscribe-desktop-app 0x00000001044c1404 _ZNK7livekit19VideoEncoderFactory19GetSupportedFormatsEv + 52
8 interscribe-desktop-app 0x0000000104448c8c _ZNK7cricket17WebRtcVideoEngine11send_codecsEb + 100
9 interscribe-desktop-app 0x0000000103c0fb80 _ZN7cricket30MediaSessionDescriptionFactoryC2EPNS_20MediaEngineInterfaceEbPN3rtc23UniqueRandomIdGeneratorEPKNS_27TransportDescriptionFactoryE + 324
10 interscribe-desktop-app 0x0000000103c4d320 _ZN6webrtc31WebRtcSessionDescriptionFactoryC2EPNS_17ConnectionContextEPKNS_16SdpStateProviderERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEbNS6_10unique_ptrIN3rtc32RTCCertifi 11 interscribe-desktop-app 0x0000000103bb5b44 _ZN6webrtc21SdpOfferAnswerHandler10InitializeERKNS_23PeerConnectionInterface16RTCConfigurationERNS_26PeerConnectionDependenciesEPNS_17ConnectionContextE + 312
12 interscribe-desktop-app 0x0000000103c6f584 _ZN6webrtc14PeerConnection10InitializeERKNS_23PeerConnectionInterface16RTCConfigurationENS_26PeerConnectionDependenciesE + 500
13 interscribe-desktop-app 0x0000000103c6f18c _ZN6webrtc14PeerConnection6CreateERKNS_11EnvironmentENS_13scoped_refptrINS_17ConnectionContextEEERKNS_30PeerConnectionFactoryInterface7OptionsENSt3__110unique_ptrINS_4CallENSB_14default_deleteISD 14 interscribe-desktop-app 0x0000000103c1f200 _ZN6webrtc21PeerConnectionFactory27CreatePeerConnectionOrErrorERKNS_23PeerConnectionInterface16RTCConfigurationENS_26PeerConnectionDependenciesE + 500
15 interscribe-desktop-app 0x0000000103c20934 _ZN6webrtc10ReturnTypeINS_10RTCErrorOrINS_13scoped_refptrINS_23PeerConnectionInterfaceEEEEEE6InvokeINS_30PeerConnectionFactoryInterfaceEMS8_FS5_RKNS3_16RTCConfigurationENS_26PeerConnectionDepende 16 interscribe-desktop-app 0x0000000103c20a48 _ZN4absl22internal_any_invocable12LocalInvokerILb0EvOZN6webrtc10MethodCallINS2_30PeerConnectionFactoryInterfaceENS2_10RTCErrorOrINS2_13scoped_refptrINS2_23PeerConnectionInterfaceEEEEEJRKNS7_16RTC 17 interscribe-desktop-app 0x0000000103d2bdf0 _ZN3rtc6Thread8DispatchEN4absl12AnyInvocableIFvvOEEE + 160
18 interscribe-desktop-app 0x0000000103d2af24 _ZN3rtc6Thread15ProcessMessagesEi + 220
19 interscribe-desktop-app 0x0000000103d2c2d0 _ZN3rtc6Thread6PreRunEPv + 96
20 libsystem_pthread.dylib 0x000000018ac76c0c _pthread_start + 136
21 libsystem_pthread.dylib 0x000000018ac71b80 thread_start + 8
)
libc++abi: terminating due to uncaught exception of type NSException