Live data from Hacker News

Apple Announces Full WebRTC Support in Safari 11

blog.peer5.com

81–90 of 167 posts

Re: Apple Announces Full WebRTC Support in Safari 11

#81
post #2

Does this mean Apple may actually implement Service Workers and Web Push in the next Safari?? :)

I hope not as Service Workers is an awful technology. It is completely hostile to users. If I close a web page I expect everything related to that web page to stop. Immediately. I don't expect there to be lingering background threads consuming battery life, network data and disk storage. And in Chrome you can only discover service workers by enabling a Debug mode and memorising a specific URL. Exactly how does a non-…

Service workers were designed to only work during events which you opted into. Either because you loaded the site which is now making requests, or because you OPTED IN to receive notifications.

Think about it this way... why do you have to download an entire app just to use a site? Don't like the notifications? Turn the off.

Re: Apple Announces Full WebRTC Support in Safari 11

#82
post #45
post #44

Earlier quoted context omitted.

Does it support VP8 as required by RFC 7742 "WebRTC Video Processing and Codec Requirements"?

Not in the version that will ship in iOS 11 / High Sierra. Not yet determined for future versions.

So, "full support" might be misleading to put in the title.

Re: Apple Announces Full WebRTC Support in Safari 11

#83
post #76
post #45

Earlier quoted context omitted.

Not in the version that will ship in iOS 11 / High Sierra. Not yet determined for future versions.

Is that a political or technical decision?

Do you think you would get an answer to this question?

Re: Apple Announces Full WebRTC Support in Safari 11

#84
post #28

WebRTC was the #1 most requested web platform feature for Safari. Now coming to macOS and iOS: https://webkit.org/blog/7726/announcing-webrtc-and-media-cap... You can even try it out now on Safari Technology Preview: https://webkit.org/blog/7627/safari-technology-preview-32/

About fucking time. I've literally been waiting for this for two and a half years!

This is absolutely huge. Many, many services that could once only be provided at a premium fee or by large to massive companies like Skype or Google can now be offered for free by small start-ups without having to worry about "this page was designed to be viewed in [preferred browser] version [foo] or higher" hassles.

Re: Apple Announces Full WebRTC Support in Safari 11

#85
post #81

Earlier quoted context omitted.

I hope not as Service Workers is an awful technology. It is completely hostile to users. If I close a web page I expect everything related to that web page to stop. Immediately. I don't expect there to be lingering background threads consuming battery life, network data and disk storage. And in Chrome you can only discover service workers by enabling a Debug mode and memorising a specific URL. Exactly how does a non-…

Service workers were designed to only work during events which you opted into. Either because you loaded the site which is now making requests, or because you OPTED IN to receive notifications. Think about it this way... why do you have to download an entire app just to use a site? Don't like the notifications? Turn the off.

Yes because ordinary users never, ever opt in to things they shouldn't. And because of that one opt-in mistake suddenly they have invisible service workers mining Bitcoins which they could never learn about since the discovery mechanism for service workers is currently non-existent.

Again, the concept of background tasks isn't necessarily a bad thing. But it needs to be locked down to specific use cases not a free for all allowing arbitrary JS to be executed.

Re: Apple Announces Full WebRTC Support in Safari 11

#86

What WebRTC apps can we expect will be mainstream in, say, 6 years? I'm just trying to picture what this technology will allow (or replace).

Applications that rely on P2P data channels combined with end-to-end encrypted signalling like https://saltyrtc.org/ might also be an interesting area.

One of the projects using WebRTC data channels right now is Threema Web to connect smartphone and browser across networks without trusting a server: https://github.com/threema-ch/threema-web (Disclaimer: I'm involved in development)

Re: Apple Announces Full WebRTC Support in Safari 11

#87
ive dreamt of this for years!!! so excited.

quick question: i noticed that the camera isnt available on iOS 11 if you put a web-app capable page on to your homescreen. when you open the page in full screen, mediaDevices is undefined. is that just an iOS beta bug?

Re: Apple Announces Full WebRTC Support in Safari 11

#88
post #54

Earlier quoted context omitted.

I'm not related to the Safari or any other browser team in any way. But I totally believe that it's a giant amount of work. I personally researched the effort which would just be required to implement webrtc data channels in a server application and have been rapidly been put off after seeing that I would need to have support STUN, TURN, ICE, DTLS and DTCP. With each of them having giant specs. The media formats and…

We did end up using libwebrtc but we had to strip a lot of the dependencies and also update it use system services instead where appropriate.

That means you're aiming for WebRTC 1.0, not for ORTC, right?

Re: Apple Announces Full WebRTC Support in Safari 11

#89
post #21

Earlier quoted context omitted.

It's coming to both macOS and iOS in Safari 11 and iOS 11.

Can you share a link please?

iOS is specifically mentioned:

https://webkit.org/blog/7726/announcing-webrtc-and-media-cap...

"Today we are thrilled to announce WebKit support for WebRTC, available on Safari on macOS High Sierra, iOS 11, and Safari Technology Preview 32."

Re: Apple Announces Full WebRTC Support in Safari 11

#90

SO excited about this. Data-channel and all. Non-jailbroken torrenting on iOS at long last :P https://webtorrent.io/ Also, definitely worth trying out this AR.js demo if you're running the beta: https://freinbichler.me/apps/web-ar/ Always thought it was a little peculiar that the Media Capture APIs are tied to what is otherwise a very data/protocol-oriented spec. Wish we could have had a camera feed in a canvas eleme…

How would this allow you to torrent on iOS without jailbreaking the device?

My phone, though an iPhone 6, seems to shut down Safari if I've been using other apps long enough. I can't imagine it staying alive long enough to torrent anything large.

Post reply on HN