Safari is about to support WEBRTC

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.