WebRTC Integration with iOS App

General Tech Bugs & Fixes 2 years ago

3 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 31 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I have Build webRTC and My App Accessing WebRTC API through another static library viz. LibB When I link LibB with my application and build it , it fails with below log: **** I have build WebRTC against AMD64/ARMv7** Undefined symbols for architecture arm64:

Undefined symbols for architecture arm64:
  "webrtc::FIRFilterNEON::FIRFilterNEON(float const*, unsigned long, unsigned long)", referenced from:
      webrtc::FIRFilter::Create(float const*, unsigned long, unsigned long) in LibB.a(fir_filter.o)
  "vtable for webrtc::DenoiserFilterNEON", referenced from:
      webrtc::DenoiserFilterNEON::DenoiserFilterNEON() in LibB.a(denoiser_filter.o)
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "webrtc::SincResampler::Convolve_NEON(float const*, float const*, float const*, double)", referenced from:
      webrtc::SincResampler::Resample(unsigned long, float*) in LibB.a(sinc_resampler.o)
  "_WebRtcNsx_NoiseEstimationNeon", referenced from:
      l008 in LibB.a(nsx_core.o)
  "_SHA1_Final", referenced from:
      _sctp_sha1_final in LibB.a(sctp_sha1.o)
  "_EVP_MD_CTX_copy", referenced from:
      _hmac_start in LibB.a(hmac_ossl.o)
  "_EVP_DigestInit", referenced from:
      l002 in LibB.a(hmac_ossl.o)
  "_EVP_EncryptUpdate", referenced from:
      _aes_icm_openssl_encrypt in LibB.a(aes_icm_ossl.o)
  "_EVP_EncryptFinal_ex", referenced from:
      _aes_icm_openssl_encrypt in LibB.a(aes_icm_ossl.o)
  "_EVP_aes_256_ctr", referenced from:
      _aes_icm_openssl_set_iv in LibB.a(aes_icm_ossl.o)
  "_EVP_aes_128_ctr", referenced from:
      _aes_icm_openssl_set_iv in LibB.a(aes_icm_ossl.o)
  "_EVP_EncryptInit_ex", referenced from:
      _aes_icm_openssl_set_iv in LibB.a(aes_icm_ossl.o)
  "_EVP_aes_256_gcm", referenced from:
                                                
                                                
3 views
0 shares
profilepic.png
manpreet 2 years ago

You have to generate the framework for arm64 and arm at the same time

Use these commands:

gn gen out/Debug-device --args='target_os="ios" target_cpu="x64" is_component_build=false additional_target_cpus=["arm", "arm64"] enable_dsyms=true ios_enable_code_signing = false'

ninja -C out/Debug-device rtc_sdk_framework_objc

3 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.