stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.
https://stephenlb.github.io/webrtc-sdk/
MIT License
853 stars 278 forks source link

Not working in ios #48

Closed Hamadme50 closed 6 years ago

Hamadme50 commented 6 years ago

tested ios latest version and older not working

stephenlb commented 6 years ago

Confirmed. Looks like iOS 11 supports WebRTC. however our SDK isn't working with it right now. WebRTC Support reference article: https://flashphoner.com/ios-safari-11-now-supports-webrtc/

We are investigating a way to make this work.

Hamadme50 commented 6 years ago

thanks dear waiting for it

stephenlb commented 6 years ago

https://stackoverflow.com/questions/48652714/ios-11-simulator-safari-getusermedia-invalid-constraint

stephenlb commented 6 years ago

Trying to get this to work on the iOS simulator. And the iOS Simulator is not Simulating!

stephenlb commented 6 years ago

Confirmed. iOS Simulator doesn't support WebRTC. We need to find an iOS 11 device to add this feature.

stephenlb commented 6 years ago

We are collecting details on making this work. Sprint complete in next two weeks.

stephenlb commented 6 years ago

Fixed! Use the latest version of webrtc.js here: https://stephenlb.github.io/webrtc-sdk/js/webrtc.js

Hamadme50 commented 6 years ago

getting error webrtc.js:571 Uncaught TypeError: this.mergeJSON is not a function at merge (webrtc.js:571) at window.PHONE (webrtc.js:13) at (index):624

stephenlb commented 6 years ago

Thank you! checking....

stephenlb commented 6 years ago

Fixed.

stephenlb commented 6 years ago

Fix is applied and live: https://github.com/stephenlb/webrtc-sdk/commit/4ed5867aa97f45040678ae41a6a07252c36aea6c

Hamadme50 commented 6 years ago

Now it is working in ios great job thanks

stephenlb commented 6 years ago

🎉