WebRTC in Safari?
webrtcbydralex.com
webrtcbydralex.com
Why would you do that?? It integrates nicely with the OS. Spell checking, keychain, services, keyboard shortcuts, right-click dictionary lookup, easy link sharing. Little things.
I have recently noticed more and more sites are starting to break on Safari. Ever since Chrome forked webkit, it has started to lag behind. Since Safari has a small marketshare and a different engine from the major players, some sites dropped support for it.
A prime example is file-upload to Github issues. You'd think that uploading files is as old as the web itself, but when you try to do this in Safari, it says something like "Sorry, Safari does not support file attachments. Please use a modern browser like Firefox or Chrome."
On Mac OS, the solution for users is to run a different browser like Chrome or Firefox, as nearly all of my Mac friends do. If this issue starts to affect media consumption sites on iOS's Safari, that's another story since iOS users aren't allowed to use an alternate browser (they're all running Safari underneath).
IMO, they're both at fault here. GitHub should be able to provide a fallback, but also Safari should be keeping up to date.
Back when Safari had windows builds, I at least made an effort to test locally and fix the bugs they kept introducing. But many of the bugs only reproduced on OS X, and now there's no Windows port, so there's no way I'm going to drop a bunch of money to buy a Mac just so I can do their work for them.
Safari bugs have broken my JS more often than every other browser combined. IE included.
Apple: please, please decouple Safari from the OS, and use App Store updates to update your browser more frequently.
I certainly understand why developers and others find it convenient and profitable to keep on adding APIs the client part of the global client-server document-publishing platform, but I am simply amazed to come across someone using security of all things as an argument or a justification for doing it.
Think about what you are saying! You have a new API you want to make available to developers, but of course it is really hard to create an API that cannot be exploited, so to keep things as secure as possible, every time the user needs to check the weather forecast, look at the new photos of the grandkids or look for a new recipe, some random web server plus zero-or-more third-party ad servers should get a crack at exploiting the new API!
Source? Seems like a long stretch, especially if you factor in non-windows desktops and all mobile devices.
If you really are concerned about security wouldn't you rather trust basically just Apple and Google or Apple, Google, and every native app developer in the app store?
Having a load of random apps installed on your smartphone is simply less secure than than just using that functionality within a sandboxed and standardised web browser that goes through endless routine security updates.
Its much easier to chose what to install from an app store. If you click on the wrong link, or if you receive malvertising, boom! vulnerabilities in this could cause your phone to be infected.
The article goes through an effort to explai WebKit and Safari but never makes a single mention about WebRTC. Title of the blog doesn't help either.
https://en.wikipedia.org/wiki/WebRTC is helpful in case those aren't enough.
This posting is interesting because webrtc support has lagged in safari.
Webrtc is about more than just video and worth looking up.
...it gives you this:
"WebRTC is a set of browser APIs and protocols being worked on by the W3C and IETF standardization bodies. With WebRTC, developers can quickly add real-time peer-2-peer audio, video and data capabilities to their web applications through a set of standardised JavaScript APIs.
WebKit today lacks support for this exciting new standard. Our intention is to add WebRTC support to WebKit, starting with the WebKit GTK+ port (Linux), by means of the OpenWebRTC implementation. Much of the WebRTC support will be implemented in the core of WebKit and therefore shared among all WebKit ports. This will also enable integration of other WebRTC backends such as webrtc.org."
It would have been nice if that had just been summarized and added into the post though. It's kind of annoying to have to jump around to a bunch of different places when all you're trying to do is soak up information quickly and move on to the next thing. It really pulls you out of the flow of the article, gets you out of the mindset of "I'm just sitting here reading an article." (into something more like "now here's a 1. visual puzzle where I have to figure out which elements are clickable, and 2. one too many click-throughs and back-buttons, figuring out where I was back on the main page, and trying to resume reading.