Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm currently working on one hybrid app using ionic 3. In this application, I have implemented a video calling interface using WebRTC apis. Its correctly working for android side but for iOS I'm encountering an error at the time of call acceptance. We are using iosrtc Cordova Plugin for iOS purpose. When callee tries to answer a call, console is showing error as : 

'[1269:40158] Check in status usermedia error [object CustomEvent]

2020-09-23 13:29:55.083365+0530 LMG[1269:40158] ERROR: [2020-09-23T07:59:55.082Z][ERROR]apiRTC(WebRTCCall) Failed to get access to local media. Error code was undefined

2020-09-23 13:29:55.083816+0530 LMG[1269:40158] ERROR: [2020-09-23T07:59:55.082Z][ERROR]apiRTC(WebRTCCall) [object Object]'

Clearly from error message, it appears to be camera/microphone permissions issue. Although both camera and microphone permissions have been added in plist file along with descriptions. Still when application opens up, it's not asking user for these two required permissions. 

Could someone put a light on this issue and provide required solution?

Thanks!


What I have tried:

I have been added camera and microphone permissions with its description in plist file but still it not asking for required permissions when app is opens up.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900