cordova-rtc / cordova-plugin-iosrtc

Cordova iOS plugin exposing the WebRTC W3C API
MIT License
690 stars 338 forks source link

Getting error in connecting ios device microphone and video in openvidu ionic #738

Closed anupzone closed 2 years ago

anupzone commented 2 years ago
Screenshot 2022-02-09 at 8 49 00 PM Screenshot 2022-02-09 at 8 49 16 PM Screenshot 2022-02-09 at 8 50 13 PM

attaching screenshot checked in iphone 11 (ios 15.3) (safari developer tool), and xcode. openvidu 2.20.0, iosrtc 6.0.21. Please help.

ionic info:

Ionic:

Ionic CLI : 6.13.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.6.11 @angular-devkit/build-angular : 0.1102.18 @angular-devkit/schematics : 11.2.17 @angular/cli : 11.2.18 @ionic/angular-toolkit : 3.1.1

Cordova:

Cordova CLI : 10.0.0 Cordova Platforms : ios 6.2.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 22 other plugins)

Utility:

cordova-res : 0.15.4 native-run : 1.5.0

System:

ios-sim : 8.0.2 NodeJS : v14.16.0 (/usr/local/bin/node) npm : 6.14.11 OS : macOS Big Sur Xcode : Xcode 13.2.1 Build version 13C100

hthetiot commented 2 years ago

cc @CSantosM from OpenVidu

hthetiot commented 2 years ago

@Anupzone note that on ios 15.3 you dont need that plugin since WebView should have WebRTC if you add the proper plist file change for camera and microphone permissions, unless you want to control audio ouput and some extras stuff.

anupzone commented 2 years ago

Exactly same I told in openvidu forum. they still using iosrtc because earlier iOS WKWebView was not supporting webRTC. But still I am not sure for new versions. I found one link https://blog.bitsrc.io/ios-14-3-brings-webrtc-to-wkwebview-closing-gap-on-ios-accessibility-90a83fa6bda2 and I think WKWebView support webRTC now.

anupzone commented 2 years ago

Thanks @hthetiot , I tested after commenting openvidu iosrtc codes and everything working perfect in iOS. Even PnP working. Awesome. Thanks a lot :)

hthetiot commented 2 years ago

@anupzone ok, I'm closing this issue for now, we historically support openVidu, if someone have a fix we can eventually re-open the issue.