Since the beginning of WEBRTC development, often asked by others, Safari browser can support WEBRTC? I also want Safari to support WEBRTC so you don't have to write native WebRTC apps or Safari plugins.
Happily, Apple recently announced that WEBRTC will enter Safari and iOS 11. In fact, if you're an Apple registered developer, you can try using a beta Safari browser that supports WEBRTC. I tried out the beta version of Safari in advance and wrote a simple WebRTC applet that ran on it. The following I have met the few I have always shared with you:
- Safari and Safari Connect quickly and successfully, but when Safari and Chrome,firefox Connect , the following exception occurs when setting up an offer SDP or setting the answer SDP: typeerror:attempted to assign-readonly property.
- the GetStats interface is a bit different than chrome. If you don't have a selector parameter in chrome, you can get a lot of data, but doing the same thing in Safari throws the following error: Argument 1 (' selector ') to rtcpeerconnection. GetStats must is an instance of mediastreamtrack
- in Chrome, We can create multiple datachannels in one peerconnection at the same time, but it doesn't work in Safari. Of course we can get around this problem in other ways, but I still want the Safari interface to be consistent with chrome.
That's why I temporarily found a few minor issues in the Safari beta version, and if you're also experimenting with safari, what's new, you can talk to me.
Safari is about to support WEBRTC