Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this book, but it doesn't contain any code examples, so it wasn't useful to me.

I ended up adopting code from the High Performance Browser Networking book and some code examples by Google that were written like 8 years ago. It was painful to replace the outdated APIs with new ones and rewrite in TypeScript, but I eventually did it.

https://github.com/adhamsalama/webrtc/

Then I used it with WebAssembly to run a distributed SQLite database in the browser for peer-to-peer collaboration.

https://github.com/adhamsalama/sqlite-wasm-webrtc

Probably the coolest projects I have ever done, and they contain almost no backend code at all (I am a backend dev).



I’m glad you had fun with WebRTC. It’s super cool tech.

If you are ever back in WebRTC land would loved to help https://pion.ly/discord

The book is vendor agnostic. I wanted it to be timeless and vendor agnostic.

The lack of code made all publishers I approached reject it :( I would love to see a hard copy someday.

I had hoped if I put no code in it the WebRTC community would feel more comfortable with it. If I made it Pion specific, would greatly reduce its reach.


Can I ask what you mean by vendor agnostic?

Don't the WebRTC APIs exist in all browsers?


You have multiple implementations (Go, Python/Typescript) and servers (Janus/Jitsi)

I was afraid if I pushed any software in particular it would dissuade other groups from using it


I just wrote it using the browser APIs and a small signaling server using WebSockets. That's it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: