HackerTrans
TopNewTrendsCommentsPastAskShowJobs

martinprins

no profile record

Submissions

I used Claude Code's agent teams on a production incident (field report)

magarcia.io
2 points·by martinprins·4 เดือนที่ผ่านมา·0 comments

A Serverless WebRTC Signaling Protocol Using QR Codes

magarcia.io
4 points·by martinprins·6 เดือนที่ผ่านมา·3 comments

comments

martinprins
·6 เดือนที่ผ่านมา·discuss
Thanks! The write-up took longer than the actual protocol design.
martinprins
·6 เดือนที่ผ่านมา·discuss
Author here. Started with a simple problem: sync data between two phones with no backend.

WebRTC signaling SDPs are ~2.5KB. Too large for practical QR scanning. When you control both endpoints, most of that is unnecessary ceremony.

Key insights: derive ICE credentials from DTLS fingerprint via HKDF, use binary encoding (IP as 4 bytes not ASCII), skip compression (DEFLATE increases size on high-entropy data), skip base64 (QR supports raw binary).