Lurker News

Comments (72) 20 threads

Sean-Der6 replies#
Hey HN! This is a book I am working on to help de-mystify WebRTC. It is wonderful technology, but many find it hard to understand. Especially if you don't have a telephony background. Before this I worked on https://github.com/pion/webrtc and https://github.com/awslabs/amazon-kinesis-video-streams-webr...

I wanted to share all my knowledge from working on these.
------
Come learn about the WebRTC specification and how all the protocols work in depth, not just a tour of the APIs. The book is completely Open Source and available at https://github.com/webrtc-for-the-curious/webrtc-for-the-cur...
Learn the full details of ICE, SCTP, DTLS, SRTP, and how they work together to make up the WebRTC stack.
Hear how WebRTC implementers debug issues with the tools of the trade.
Listen to interviews with the authors of foundational WebRTC tech! Hear the motivations and design details that pre-dated WebRTC by 20 years.
Explore the cutting edge of what people are building with WebRTC. Learn about interesting use cases and how real-world applications get designed, tested and implemented in production.
Written by developers who have written all of this from scratch. We learned it the hard way, now we want to share it with you!
This book is vendor agnostic and multiple Open Source projects and companies are involved. We would love to have you involved!
reply

the-dude1 reply#
Hi Sean,

I remember your username from earlier posts, IIRC also quality content about WebRTC or similar ( implementation? )
I am not a writer, but did get some extended language education, and I suggest you get rid of most exclamation marks in your texts.
It makes the reading ... boring might the wrong word ( not a native speaker ).
Good luck and many thanks for your contributions.

Sean-Der3 replies#
Thanks for the feedback. I agree.

When talking to people I really want to emote. I am self conscious that people will think I am not interested/excited in the conversation. Through most of my life 'programming/tech' was something that I cared about. I never had any friends/family that cared though. When I became an adult and started working it felt like a re-birth of sorts :)
I just don't ever want anyone else to feel like I am not interested/excited. I will try dropping the exclamation points, and I hope that my enthusiasm still comes through.

Continue this thread — 1 reply

ficklepickle#
Wow, me too! And I also use lots of exclamation marks when I write! You explained it better than I could have. Glad I'm not the only one.
lowercased#
My suggestion would be to throw in related illustrative real world anecdotes that drive a point home (personal experiences of real world impact of the tech or the architecture decisions, for example) instead of exclamation marks. That conveys the 'interested' part, and shows you can demonstrate real world connections to stuff that might otherwise be dry and academic. But it doesn't use exclamation marks! ;)
morrbo#
Hi mate, just wanted to say thanks for the hard work, it's really appreciated honestly
tobinfricke1 reply#
For someone like myself who knows absolutely nothing about WebRTC, it would be helpful to add an introduction with the very basics: It stands for Real Time Communications, it has to do with videoconferencing? etc.
francislavoie#
Video chatting is just one application. It's ideal for any application of real-time peer-to-peer streaming of data.
fuadnafiz98#
Awesome work
zengineer#
Very cool! I was trying to get into WebRTC a couple of years ago and it was very hard to find proper information on it. Thank you!
deepstack#
Exactly what we need! I'm tired of new comer programming some API using some terminal can call it programming. Understand the protocol!
atum472 replies#
I was fiddling with webrtc last week and I end up creating a very simplistic video chat. I was amazed on how easy it is to implement that kind of stuff. server (signaling) and client didn't took more than a few hundred lines of JS code.

I was determined to make a real app out of it, but everything I could think of, there were already other people doing similar stuff.
But its a nice piece of tech WebRTC, really impressed me.
here's my video chat in action: https://www.youtube.com/watch?v=YbQsQqbt70g (no audio cause I was using it to capture me speaking for the video recording)

ipnon1 reply#
I suspect we will see a deluge of video chat apps in the near future. They will be similar to the wave of chat apps that appeared around 2015. I hope that the technology will mature soon. The current state of video communication seems improvable.
atum472 replies#
well, I thought about doing a video chat over some game play, so two friends could play a match of anything while having a video conversation, next day some one posted something similar here on HN.

I then thought about drawing on top of the video stream so you can use as like one os those games where you have to guess what the other people is drawing or, to coach someone one to one and being able to "comment" on their screen as they speak, but again, I'm pretty sure every video chats does that. So I left the idea on the drawer for now.
https://www.youtube.com/watch?v=yS3_CRr7tys (draw on the stream)

fttx_5 replies#
Any chance you can link the first one (video chat over gameplay)? I'm working on something similar. I've tried searching and didn't turn up all that much.

Continue this thread — 5 replies

GFischer#
You're discounting the applications far too readily !!! I'm absolutely convinced there's lots of open space for video apps.

Heck, maybe the Zoom ubiquity might have removed barriers for entry !

kodablah2 replies#
I strongly suggest, for your next step up as a JS person, to take a peek at mediasoup.org. P2P has obvious scalability limitations. That lib not only makes server side forwarding easy (once you read example code), but it abstracts a lot of real-world needed WebRTC features such as simulcast and bandwidth estimation. You'll be making high quality Zoom-like pages in no time (beware though, the dev community ain't great for that lib because at least one of the authors comes off quite rude in the forums).

Also I'd be remiss to not point out the OP's own pion Go libs which do similar on the server side.

atum47#
I'll check it out. thanks for the suggestion.
treelovinhippie1 reply#
Is the server-side implementation of Mediasoup fairly light? Would be cool to run SFU inside something like a Cloudflare worker.
kodablah#
Not that light. It's a set of workers built in c++ and works with libwebrtc over udp. Cloudflare workers is js/v8 only and is specific to HTTP.
ryanar1 reply#
Sean, the author of this book, is an awesome human being. He is so passionate about helping and teaching others. He is also far too humble, he works on Amazon's C++ WebRTC implementation for AWS services, and then rewrote everything in Go to create Pion, an open source community around WebRTC. If you want to join the community, check out the #pion channel in Slack!
Sean-Der#
Thanks Ryan. I really enjoyed working together on Pion. All the relationships/experiences are what make it :) we still need to finish ffmpeg/desktop capture example.

https://pion.ly/slack if people want to join! If you are interested in RTC/VoIP/P2P it’s a great channel to be in. Lots of people working on many interesting projects in it.
I got the KVS job thanks to Pion! It was fun to have a second shot and not make the same mistakes.

fictorial1 reply#
For a client I created a telehealth system for mobile and desktop browsers atop Twilio Video and later OpenTok.

As an experiment in cost savings, I dove into the details and made a raw WebRTC version which worked well for a small number of users in peer to peer mode.
While I found plenty of device farms, none allowed use the device camera and mic.
How would you test a raw WebRTC video chat system short of buying a bunch of devices every generation?

Load more comments