News for hackers. Stuff that matters.
Re:Apple Announces Full WebRTC Support in Safari 11 by ArlenBales on Wednesday June 07, 2017 @04:42PM (#14509693)
What about a WebRTC version of Twitch.tv? Is that feasible in 5 or 10 years? Twitch does transcoding and I'm not sure how transcoding would work with WebRTC.
Re:Apple Announces Full WebRTC Support in Safari 11 by shacharz on Wednesday June 07, 2017 @04:48PM (#14509739)
What do you mean exactly by that? You want to replace the contribution side (camera to server) by WebRTC or delivery side (server to screen) or both?

Contribution: there are platforms who already uses WebRTC instead of rtmp to stream the live camera feed. You can use tokbox's apis for example.

Delivery: This is where it gets more tricky, the nice thing about http based streaming like HLS and DASH is that it's cacheable just like any other file served over http - making it extremely scalable and that's how most CDNs operate today. Changing that part into WebRTC has it's benefits like low latency but has a huge degradation in scaling complexity because of the connection state oriented nature of WebRTC, there are companies trying to build that as well e.g: Red5

Re:Apple Announces Full WebRTC Support in Safari 11 by Nullabillity on Wednesday June 07, 2017 @05:10PM (#14509910)
It would probably be possible for smaller communities today, given how cheap bandwidth already is. For comparison, I'm currently paying ~$13/mo for a (symmetric) gigabit connection.

The main reasons for transcoding are downstream bandwidth usage and codec support. WebRTC mandates VP8, so codecs shouldn't be an issue. Downstream bandwidth usage probably wouldn't be a major concern when it's viable to stream at 1080p to thousands of viewers from a home connection (though I doubt that's going to happen soon). So you could probably ignore transcoding entirely.

However, marketing would probably be an issue, since this architecture would prevent streamers from having more than about a hundred watchers, meaning that the big fish would stick to Twitch. That said, I suppose you could have a failover system, where larger streamers would switch to a relay-based system.

Re:Apple Announces Full WebRTC Support in Safari 11 by Gaelan on Wednesday June 07, 2017 @06:30PM (#14510367)
Where do you live? Internet is way more expensive in the US.
Re:Apple Announces Full WebRTC Support in Safari 11 by Nullabillity on Wednesday June 07, 2017 @08:04PM (#14510878)
Stockholm.
Re:Apple Announces Full WebRTC Support in Safari 11 by MBCook on Wednesday June 07, 2017 @09:34PM (#14511233)
If you're lucky enough to have Google Fiber in the US it's $70/mo for symmetric gig, IIRC.
Re:Apple Announces Full WebRTC Support in Safari 11 by TD-Linux on Wednesday June 07, 2017 @05:55PM (#14510171)
You can also fall over to a classic client/server model with WebRTC for one to many broadcasting, while still keeping the advantages of very low latency (and reusing much of the same code).
Re:Apple Announces Full WebRTC Support in Safari 11 by PaulBGD_ on Wednesday June 07, 2017 @09:00PM (#14511115)
That actually already exists and it's owned by Microsoft: https://mixer.com/