TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: WebRTC signalling data using QR codes

80 pointsby AquiGorkaover 6 years ago

17 comments

phireskyover 6 years ago
Similar project of mine that connects a phone to a PC browser using a WebRTC QR code so you can use a pen &#x2F; touch on the phone to create drawings on the desktop:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Gvsm84xL9Sk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Gvsm84xL9Sk</a> (<a href="https:&#x2F;&#x2F;github.com&#x2F;phiresky&#x2F;webrtc-remote-touch-pen-input" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;phiresky&#x2F;webrtc-remote-touch-pen-input</a>)<p>Sadly it needs a (tiny) server component to exchange the initial connection information - using a QR code in both directions is smart, but also pretty annoying for the user.
评论 #18203257 未加载
TomasHubelbauerover 6 years ago
This is great, thanks for posting it. I&#x27;ve had the same idea myself and started and abandoned this exact same project a few times. Same down to cutting the SDP up into multiple QR codes. I am glad to see this brought to life.<p>I am also surprised to see @nilknarf has done that in 2014! (As per their comment.) Don&#x27;t know how I didn&#x27;t come across his post during my research into this, but checking it now, someone in the comments posted a link to a patent which captures this idea.<p><a href="http:&#x2F;&#x2F;www.freepatentsonline.com&#x2F;20160021148.pdf" rel="nofollow">http:&#x2F;&#x2F;www.freepatentsonline.com&#x2F;20160021148.pdf</a><p>The patent must be invalid, because it&#x27;s from 2016 and there is clearly prior art, but it kind of sucks, because it basically means polishing something like e.g. @phiresky has done with the remote pen just means if you succeed in bringing down the time to connect and make it something usable enough for users, you&#x27;re opening yourself up to a claim if you decide to package it up into an app.
评论 #18207115 未加载
garlicfishover 6 years ago
Nice!<p>I also now of this Android App that uses WebRTC Audio&#x2F;Video without server (no Internet or DHCP needed): <a href="https:&#x2F;&#x2F;github.com&#x2F;dakhnod&#x2F;Meshenger" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dakhnod&#x2F;Meshenger</a><p>I made a submission, in case somebody likes to discuss the need for serverless WebRTC: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18203495" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18203495</a><p>(Disclaimer: I am not the author of the App, but I helped out a bit)
评论 #18203710 未加载
kodablahover 6 years ago
I&#x27;ve wondered about other signalling mechanisms. I figure you could use a DHT (js-ipfs&#x2F;js-libp2p or webtorrent BT mainline) and put the offer directly on the DHT (AES&#x27;d?) or if it&#x27;s too big to be a key, seed it as the stored value for its hash using those systems.
评论 #18203636 未加载
ggerganovover 6 years ago
Cool. In case you are interested in a similar approach using signaling through audio (you might say an &quot;audio QR code&quot;): <a href="https:&#x2F;&#x2F;github.com&#x2F;ggerganov&#x2F;wave-share" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ggerganov&#x2F;wave-share</a>
评论 #18202225 未加载
nilknarfover 6 years ago
Did you happen to see my post on this? <a href="https:&#x2F;&#x2F;franklinta.com&#x2F;2014&#x2F;10&#x2F;19&#x2F;serverless-webrtc-using-qr-codes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;franklinta.com&#x2F;2014&#x2F;10&#x2F;19&#x2F;serverless-webrtc-using-qr...</a> (The demo unfortunately doesn&#x27;t work anymore since it&#x27;s from 2014)<p>The flow is very similar to yours, down to the flashing QR codes! <a href="https:&#x2F;&#x2F;youtu.be&#x2F;rw4f9LfqqpI?t=8" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;rw4f9LfqqpI?t=8</a>
评论 #18207120 未加载
arcbyteover 6 years ago
Doesn&#x27;t work in Edge because createDataChannel isn&#x27;t supported: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;RTCPeerConnection&#x2F;createDataChannel#Browser_compatibility" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;RTCPeerConn...</a>
评论 #18203295 未加载
n-gaugeover 6 years ago
Cool idea, however I could not get it to work with Chrome on a laptop as a host (with the moving qr codes) and a S5 phone (join) also running Chrome pointing at the laptop (it could see the qr codes on the transparent video). It didn&#x27;t connect.
评论 #18207133 未加载
webrtcbtover 6 years ago
I am the author of the Android, iOS and web based Webrtc application and developed our own media and signaling servers (C++) and customized XMPP for chat. Currently it is in private beta but I&#x27;ll let you know soon.
评论 #18236635 未加载
ricardobeatover 6 years ago
Seems like you can only host, not join, from Mobile Safari?
评论 #18207135 未加载
评论 #18206111 未加载
webrtcbtover 6 years ago
I think industries are ready to adopt real-time voice, texts, and video communication solutions to improve customer experience.
gardnrover 6 years ago
Actual &quot;serverless&quot; webrtc. It&#x27;s very unfortunate that faas products use that misnomer.
评论 #18202401 未加载
k__over 6 years ago
Nice idea :D<p>When I played around with WebRTC for the first time I used copy-and-paste signaling.
评论 #18202169 未加载
cphooverover 6 years ago
Can I get a better description&#x2F;instructions in the README?
评论 #18202182 未加载
hamandcheeseover 6 years ago
Why does the QR code constantly change?
评论 #18202444 未加载
adzmover 6 years ago
Will this work across NATs?
评论 #18202643 未加载
brian_herman__over 6 years ago
This is amazing! Good job!
评论 #18203306 未加载