:rocket: Rust + LiveKit on macOS – Need Your Exper...
# sdk-rust
f
🚀 Rust + LiveKit on macOS – Need Your Expertise! 🚀 Hey everyone! I’m building a Rust client app using the LiveKit SDK on macOS, but as soon as I call
connect()
, 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! 💪
Copy code
*** 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
r