简体   繁体   中英

iOS video/audio calls with webRTC using UIWebView or any alternative

Im working with integrating my iOS app with ladesk Live agent , they don't have an SDK for iOS neither android, you have to embed a unique URL in a UIWebView as per the integration instructions

but it is faced a fact that the video / call button needs to work with webRTC. The WebRTC framework that is responsible for voice functionality in the browser, however webRTC is not available in the mobile versions of web browsers.

The best thing I found is A WebRTC browser for iOS developed in the open. Bowser is built on top of OpenWebRTC. but it didn't work, and had same results as doing the same with UIWebView

Any ideas in Objective c or swift?

You won't be able to use WebRTC in a UIWebView (or its successor WKWebView) since WebRTC is only available in the Safari app on iOS.

The only way forward is to use a WebRTC stack (like Apprtc ) and implement your own solution based on that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM