Comments (12)
Can you provide the cordova-plugin-iosrtc version pls.
from cordova-plugin-iosrtc.
Can you provide also the ios device version pls.
from cordova-plugin-iosrtc.
Pls also provide steps to reproduce.
See details requirements.
Unless information are provided no one can help you.
- iOS version
- Cordova-plugin-iosrtc version
- Steps to reproduce
from cordova-plugin-iosrtc.
@hthetiot how to find webrtc-framework version?
from cordova-plugin-iosrtc.
@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.
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.
@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.
@hthetiot
cordova-Plugin-version: 8.0.1(iosrtc)
from cordova-plugin-iosrtc.
Missing Steps to reproduce.
from cordova-plugin-iosrtc.
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:
- first create new cordova project
- Add inappbrowser plugin.
- then add iosrtc plugin
- Load a html page which uses webrtc, requires media and camera permission.
- 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.
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.
@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)
- Does the plugin cordova-plugin-iosrtc works with quasar framework. HOT 2
- error: the use of xcframeworks is not supported in the legacy build system...my xcode xcode project. Build System : New Build System HOT 2
- Implementing Mediapipe Pose on ionic IOs using iosRTC HOT 1
- Add flashlight control HOT 4
- Add video border radius support HOT 1
- Enable/Disable track from Receiver/Sender is broken in case of use with Janus Videoroom HOT 5
- Getting error in connecting ios device microphone and video in openvidu ionic HOT 5
- RTCRtpSender not have DTMF properties and createDTMFSender deprecate HOT 4
- PrecompileSwiftBridgingHeader fails after first successful build ('WebRTC/RTCAudioSource.h' file not found) HOT 9
- Pretty bad H264 performance after upgrading to iOS 15.4 HOT 24
- blank screen issue HOT 2
- HTML element over video HOT 1
- Own audio shut down during video conference HOT 5
- App failing to build because of the plugin HOT 4
- navigator.mediaDevices is undefined HOT 2
- Twilio VideoJs adaptive simulcast undefined error, because of missing width and height properties from MediaTrackSettings HOT 6
- Call canceled when callee pickup the phone. HOT 3
- Bug: Can't install plugin on latest cordova/xcode HOT 3
- Build Failed HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-iosrtc.