Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webRTC-enabled browser for iOS?

Tags:

ios

iphone

webrtc

Preface: there are questions (some good, some bad) already in existance on StackOverflow about webRTC support on various browsers and platforms, including iOS. However I couldn't find anything definitive that was more recent than ~2012, and this is a rapidly-changing field.


I'm working on a browser-based webapp that uses webRTC for minimal-latency peer-to-peer data transfer (not for audio/video, unlike most applications it would seem - all I need is DataChannel).

I hit a snag when I started testing the data-transfer part of the project and discovered that iOS devices still don't natively support this in their built-in browsers (despite some recent rumors).

Bowser is a free open-source browser App for iOS that purports to support webRTC on iOS. The problem is that when I try to open the app, it simply crashes and closes. I've tested this on an iPhone 5 and 5s. Googling has failed to turn up alternatives - even Chrome for iOS doesn't currently support webRTC it seems.

My questions:
1) Are there alternative browsers (even iOS-version restricted) that are currently supporting webRTC, or is there anything promising coming down the pipeline?
2) Does Bowser actually work (webRTC) on iOS devices where it doesn't crash immediately upon launch?
3) What strategies have other people used to work around this limitation?

like image 542
tmpearce Avatar asked Jun 06 '15 00:06

tmpearce


3 Answers

As of iOS 11, WebRTC is now supported in Safari: https://developer.apple.com/library/archive/releasenotes/General/WhatsNewInSafari/Articles/Safari_11_0.html#//apple_ref/doc/uid/TP40014305-CH13-SW1

like image 83
Kyle Redfearn Avatar answered Oct 20 '22 22:10

Kyle Redfearn


Check out crosswalk project ( https://crosswalk-project.org ) This Provides runtime of Chromium engine for native support in older devices.

like image 23
Fazle Rabbi Tanjil Avatar answered Oct 20 '22 21:10

Fazle Rabbi Tanjil


1) Are there alternative browsers (even iOS-version restricted) that are currently supporting webRTC, or is there anything promising coming down the pipeline?

Answer:

There is a Browser called Bowser that supports webRTC.

2) Does Bowser actually work (webRTC) on iOS devices where it doesn't crash immediately upon launch?

Answer:

It's not crashing as of now.But I couldn't successfully test with anything so far.I have raised an issue about it

3) What strategies have other people used to work around this limitation?

Answer:

Apple is yet to support WebRTC in Webkit so as of now the only way would be develop a native or Hybrid app that would support the unsupported WebRTC APIs.

You can develop a hybrid app powered by OpenWebRTC or cordova-plugin-iosrtc

like image 2
Durai Amuthan.H Avatar answered Oct 20 '22 21:10

Durai Amuthan.H