Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
133 Views

New builded iOS OWT.framework & WebRTC.framework, join meeting crash

With the original iOS OWT.framework & WebRTC.framework & libsioclient_tls_no_verification.a in CS_WebRTC_Client_SDK_iOS.v4.2, I could join meeting successfully.

Then I checked out latest code from master (https://github.com/open-webrtc-toolkit/owt-client-native), built out new iOS OWT.framework & WebRTC.framework.

However, with the new builded iOS OWT.framework & WebRTC.framework, when join meeting, it crashed. Seems it's related with socket.io tls handshake.

I tried to rebuild a new socket.io .a, unfortunately, not successful.

Any suggestions? Many thanks.

 

Crash Information:

Crash Information

 

 

Tags (2)
0 Kudos
6 Replies
Highlighted
Beginner
133 Views

After some tries, I built out libsioclient.a (tls) successfully.

However, when join meeting, socket url like: wss://xxx.xxx.com/socket.io/?EIO=4&transport=websocket

crashed here:

0 Kudos
Highlighted
Employee
133 Views

Hi, Jeremy 

  Do you use v4.2.1 version? You may need use v4.2.x branch to update source code.   Master and v4.2.x use different webrtc stack .

 

Thanks

Yanbin

0 Kudos
Highlighted
Beginner
133 Views

Hi Team,

I am also facing the same issue.

Similar to Jeremy, I also built and used the latest frameworks from master branch (v4.3) and getting crash while joining a conference at following line

!ret->x509_method->ssl_ctx_new(ret.get()))

 

Kindly help as this is a major blocker.

Things were perfectly fine with 4.2, before upgrading.

 

 

0 Kudos
Highlighted
Beginner
133 Views

Hello Team,

Any update on this?

Thanks in anticipation.

0 Kudos
Highlighted
Beginner
133 Views

Hello Team,

 

Any update on this?
Its critical!

 

Sumit

0 Kudos
Highlighted
Beginner
133 Views

sharma,

I managed to work, try to build libsioclient.a (tls) yourself, I guess the default openssl in libsioclient_tls.a removed some 

deprecated functions.

 

Reference: https://github.com/openssl/openssl/issues/6565

 

1. So I just git download OpenSSL-for-iPhone:

git clone --recurse-submodules https://github.com/x2on/OpenSSL-for-iPhone

2. and cd into /Your-local-Path/xx/depot_tools/OpenSSL-for-iPhone directory, then execute:

./build-libssl.sh --version=1.1.0f --deprecated

 

3. then build your own OWT.framework & WebRTC.framework, specify 

python3 /Your-local-Path/xx/depot_tools/src/scripts/build.py --scheme release --arch arm64 --ssl_root /Your-local-Path/xx/depot_tools/OpenSSL-for-iPhone --skip_tests

0 Kudos