openwebrtc-examples icon indicating copy to clipboard operation
openwebrtc-examples copied to clipboard

Using OpenWebrtc with IBM Worklight

Open Midnnight opened this issue 10 years ago • 9 comments

I would integrate Openwebrtc with IBM Worklight.

First I have created Worklight project then I add IPad environnement after that i open project with Xcode to Add native Classes (https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/adding-native-functionality/ios-using-native-pages-hybrid-applications/ ) i add the openwebrtc framework and i add the helper classes. also i have initialise OpenWebRTC: In the AppDelegate ( [OpenWebRTCViewController initOpenWebRTC];) and add the path I follow this link : https://github.com/EricssonResearch/openwebrtc-examples/wiki/Developing-a-hybrid-iOS-app and this link : https://github.com/EricssonResearch/openwebrtc-examples/wiki/Developing-iOS-apps

here is my project : https://mega.co.nz/#!M8xFjLCC!174GaKgoTl1BU7oG2C6KZgNxefUXgUu41KxYwgA8F0I

can somone help me and thanks.

Midnnight avatar May 21 '15 16:05 Midnnight

What do you need help with?

stefanalund avatar May 21 '15 18:05 stefanalund

i would integrate openwebrtc with worklight but when i build project he gives me error you can build my project and you well see the problems thanks for you help.

Midnnight avatar May 21 '15 20:05 Midnnight

Can you post the details of the error here to save us the effort of setting up your project build environment?

superdump avatar May 21 '15 22:05 superdump

he give me the following issues :

#error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26" in gversionmacros.h #error unknown ENDIAN type in gtypes.h also gssize unknown type in garray.h , gatomic.h and gbase64.h files also guint64 unknown type in gutils.h

my Build setting : screen shot 2015-05-22 at 10 21 58 am

thanks for your help.

Midnnight avatar May 22 '15 09:05 Midnnight

after rebuild openwebrtc i have new issue x86_64/glibconfig.h file not found

Midnnight avatar May 25 '15 11:05 Midnnight

I try to run app in a real device (https://github.com/EricssonResearch/openwebrtc/issues/341) then i have a clang error : linker command failed with exit code 1.

Midnnight avatar May 28 '15 09:05 Midnnight

Can you paste more of the error output so that we can see what libraries are missing?

superdump avatar May 28 '15 14:05 superdump

i have fixed the issue but when i run app in device i have new issue :

WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate:

Midnnight avatar May 29 '15 14:05 Midnnight

That looks like a missing handler for some HTTPS certificate thing possibly. I remember seeing something similar a while ago...

superdump avatar May 30 '15 13:05 superdump