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?FileNotFoundError: [Errno 2] No such file or directory: 'xcodebuild'
nope, seems to expect to run on a macboundless-energy-78552
05/25/2023, 3:02 PMbuild_macos.sh
is not intended to work with LK_CUSTOM_WEBRTC
. When developing it is just easier to build webrtc yourself without the script. This part is not documented, I’m going to make a PRenough-zebra-80131
05/25/2023, 3:08 PMboundless-energy-78552
05/25/2023, 3:10 PMenough-zebra-80131
05/25/2023, 3:10 PMlibwebrtc
in this workflow (I'm developing inside the client-sdk-rust
)?boundless-energy-78552
05/25/2023, 3:10 PMenough-zebra-80131
05/25/2023, 3:13 PMboundless-energy-78552
05/25/2023, 3:16 PMenough-zebra-80131
05/25/2023, 3:17 PMwgpu_room
example...
= note: Undefined symbols for architecture arm64:
"rtc::TaskQueue::PostTask(std::__1::unique_ptr<webrtc::QueuedTask, std::__1::default_delete<webrtc::QueuedTask>>)", referenced from:
void rtc::TaskQueue::PostTask<livekit::AudioDevice::Terminate()::$_2, (void*)0>(livekit::AudioDevice::Terminate()::$_2&&) in libwebrtc_sys-d1e5496f9c87a1b6.rlib(audio_device.o)
"rtc::TaskQueue::TaskQueue(std::__1::unique_ptr<webrtc::TaskQueueBase, webrtc::TaskQueueDeleter>)", referenced from:
std::__1::__unique_if<rtc::TaskQueue>::__unique_single std::__1::make_unique[abi:v15006]<rtc::TaskQueue, std::__1::unique_ptr<webrtc::TaskQueueBase, webrtc::TaskQueueDeleter>>(std::__1::unique_ptr<webrtc::TaskQueueBase, webrtc::TaskQueueDeleter>&&) in libwebrtc_sys-d1e5496f9c87a1b6.rlib(audio_device.o)
"webrtc::CreateIceCandidate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, cricket::Candidate const&)", referenced from:
livekit::NativePeerConnectionObserver::OnIceCandidate(webrtc::IceCandidateInterface const*) in libwebrtc_sys-d1e5496f9c87a1b6.rlib(peer_connection.o)
"webrtc::CreateIceCandidate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, webrtc::SdpParseError*)", referenced from:
livekit::create_ice_candidate(rust::cxxbridge1::String, int, rust::cxxbridge1::String) in libwebrtc_sys-d1e5496f9c87a1b6.rlib(jsep.o)
"webrtc::CreateSessionDescription(webrtc::SdpType, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, webrtc::SdpParseError*)", referenced from:
livekit::create_session_description(livekit::SdpType, rust::cxxbridge1::String) in libwebrtc_sys-d1e5496f9c87a1b6.rlib(jsep.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)