Closed acamposruiz closed 4 years ago
Hi @acamposruiz ,
We do not support Cordova/PhoneGap at this moment. Please go here for a list of the supported browsers and platforms. You can also use the Video.isSupported
flag in your app to determine if the current browser/platform is supported.
Thanks,
Manjesh Malavalli JSDK Team
Thank you very much for your response @manjeshbhargav , it was very useful. Given that the above solution was working with cordova for Android I had the thought that may be it was posible in a way to make it work for IOS as well but as you tell me better to looking for a diferente aproaching ;)
Thank you again!
Code to reproduce the issue:
Expected behavior:
The above code works fine with android and cordova but doesn't in IOS with this dependencies:
Actual behavior:
The error printed in console is:
"WARN in [PeerConnectionV2 #1: ad34c895-a308-473a-b234-a7b3348eb575]: Calling setRemoteDescription with an RTCSessionDescription of type "answer" failed with the error "setRemoteDescription() failed: Failed to set remote answer sdp: The order of m-lines in answer doesn't match order in offer. Rejecting answer."
Full Logs:
This issue https://github.com/cordova-rtc/cordova-plugin-iosrtc/issues/458 in cordova-plugin-iosrtc talks about the above error in other enviroment so my question is if there is an issue in the implementation of twilio-video with cordova-plugin-iosrtc or I am doing something wrong. Thank you in advance for the response.
Note: As I mentioned above this code works fine with Android implementation.
Software versions: