-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strange crash when calling owr_bridge_start_in_thread() #20
Comments
I noticed that there's a method in OpenWebRTC.h of this repo called |
There is no support for the bridge in the SDK so you can't use that You should be able to use the OpenWebRTC pod and then import the C headers like this: owr_bridge_start_in_thread() should work. If it doesn't, we need to investigate why it's crashing. What is your app by the way? We're very interested to hear what people are doing with OpenWebRTC. 😄 |
Any additional information you can obtain about the crash is very welcome. |
OK, I'll try that. My app's english name is CloudBox, it's a web apps container that makes the website more like an app. You can just take it as a new generation super power web browser. We've already supported some PhoneGap APIs through Currently it's only available on Chinese App Store. You can try the Android version if you like. I can post the crash log that Apple sent me. |
I can't install
And it still crashes when calling |
How is it going? Does my crash logs help you figure it out? |
I'll have a look at this when I return to work later next week unless @Rugvip beats me to it. |
Firstly I built OpenWebRTC.framework 0.1 with Cerbero myself, it turned out that some lib in it does not support arm64, I can't submit an app that doesn't support arm64 to App Store.
Then I found this repo, however, I failed
pod update
with some error likeno such file chmod_internal /path/to/pods/OpenWebRTC.framework/Commands
.But I noticed I got a OpenWebRTC.framework 0.3.1 in my cocoapods' cache. So I just replace my 0.1 framework with 0.3.1 framework, and it worked, support arm64, no crash, capable of video chat with my peer.
However my app got rejected by Apple because it crashes at launch.
I find that, when I install the app into my iPhone through XCode, everything is OK. However, when I archive it into ipa and send it to somebody, it crashes when calling
owr_bridge_start_in_thread
, because when I comment out this line of code, the crash disappears.I call
owr_bridge_start_in_thread()
according to the bowser project. I'm wondering if this is a bug or wrong configuration with XCode or I'm using this lib wrongly.Recently I'm really unlucky...
The text was updated successfully, but these errors were encountered: