GithubHelp home page GithubHelp logo

Comments (12)

hthetiot avatar hthetiot commented on June 18, 2024

Can you provide the cordova-plugin-iosrtc version pls.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

Can you provide also the ios device version pls.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

Pls also provide steps to reproduce.
See details requirements.

https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/.github/ISSUE_TEMPLATE.md#steps-to-reproduce

Unless information are provided no one can help you.

  1. iOS version
  2. Cordova-plugin-iosrtc version
  3. Steps to reproduce

from cordova-plugin-iosrtc.

Sukumaran001 avatar Sukumaran001 commented on June 18, 2024

@hthetiot how to find webrtc-framework version?

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

@Sukumaran001 I have not asked you webrtc-framework version and it's not part of the requirement I linked that is required to create issue in that repository.

I literally listed what you need to provide here: #753 (comment)

Your issue have nothing to do with webrtc framework version, since you have not provided your cordova-plugin-iosrtc version its not possible to me to give you proper answer. If you actually read the README you will see latest cordova-plugin-iosrtc come with M89 (that why it's v 8.0.x).

Note that i reserve the right to close this issue and ban you if you do not behave and actually helping yourself by providing what I have asked you.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed, removing this checkbox will result in automatic closed issue.

Last chance, open source maintainer are not supposed to teach you to read.

from cordova-plugin-iosrtc.

Sukumaran001 avatar Sukumaran001 commented on June 18, 2024

@hthetiot
These are all my cordova details.

Apple macOS: 11.6.6 Big Sur
Xcode: 13.2.1
ios-deploy: 1.11.4
CocoaPods: 1.11.3
Cordova version : 11.0.0
Cordova iOS version:6.2.0
cordova-Plugin-version: 8.0.1
webrtc-adapter-version : 8.1.1
iOS version : 15.2

from cordova-plugin-iosrtc.

Sukumaran001 avatar Sukumaran001 commented on June 18, 2024

@hthetiot
cordova-Plugin-version: 8.0.1(iosrtc)

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

@Sukumaran001

Missing Steps to reproduce.

from cordova-plugin-iosrtc.

Sukumaran001 avatar Sukumaran001 commented on June 18, 2024

hello @hthetiot ,
sorry for misunderstanding
Thanks for giving me one more chance

Description
The app crashes While using iosrtc with cordova in a iphone device. however this works fine on the stimulator

steps to reproduce:

  1. first create new cordova project
  2. Add inappbrowser plugin.
  3. then add iosrtc plugin
  4. Load a html page which uses webrtc, requires media and camera permission.
  5. deploy on iphone device (i am using iphone 12 mini).

Expected Results,
App Should work without crashing

Actual Result,
App crashes on real device While loading right after the app request for media and camera permission

Requirements
Cordova version: 11.0.0
Cordova iOS version: 6.2.0
cordova-Plugin-iosrtc version : 8.0.1
iOS version : 15.2
Xcode version : 13.2.1
WebRTC-adapter version : 8.1.1

Error Log:

libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Call must be made on main thread'
terminating with uncaught exception of type NSException

Thing that i have already tried:
I took the code snippet from
#426 (comment)
and #426 (comment).
i used this inside files ,iosrtc plugin, and pluginUserMedia. but it did not work for me.

See and run my demo project also

https://github.com/Sukumaran001/Cordova_demo_iosrtc.git

Thanks in advance for your help

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

OK if I look at your sample, it open the webrtc javascript example in in app browser (https://github.com/Sukumaran001/Cordova_demo_iosrtc/blob/929e44c6a19128a80155176a4891c46f2245eae2/www/js/index.js#L7)

Cordova-plugin-iosrtc does not expose webrtc in in app browser, meaning if you have the issue that not cordova-plugin-iosrtc related.

For instance in your sample if you remove cordova-plugin-iosrtc, it should change nothing.

Also cordova-plugin-iosrtc is only required for iOS bellow 14.3, since after 14.3 webrtc is included in WkWebview, and that why you can actually use it in in app browser.

Cordova-plugin-iosrtc is only available in WKWebview after you called registerGlobals (see https://github.com/cordova-rtc/cordova-plugin-iosrtc#usage). One way to confirm that the issue is not related to cordova-plugin-iosrtc is to properly use it and you have a sample application here as described in the issue requirement that you have not properly read (https://github.com/cordova-rtc/cordova-plugin-iosrtc#sample-application).

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on June 18, 2024

@Sukumaran001 if you provide an actual way to reproduce that is valid, I will reopen, but currently it seems that your sample does not initialize cordova-plugin-iosrtc and run webrtc sample in a in app browser instead and therefore it's not used and your issue is not related. You may try to reproduce with the sample app https://github.com/cordova-rtc/cordova-plugin-iosrtc#sample-application

from cordova-plugin-iosrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.