TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: WebRTC signalling data using QR codes

80 点作者 AquiGorka超过 6 年前

17 条评论

phiresky超过 6 年前
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 未加载
TomasHubelbauer超过 6 年前
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 未加载
garlicfish超过 6 年前
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 未加载
kodablah超过 6 年前
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 未加载
ggerganov超过 6 年前
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 未加载
nilknarf超过 6 年前
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 未加载
arcbyte超过 6 年前
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-gauge超过 6 年前
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 未加载
webrtcbt超过 6 年前
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 未加载
ricardobeat超过 6 年前
Seems like you can only host, not join, from Mobile Safari?
评论 #18207135 未加载
评论 #18206111 未加载
webrtcbt超过 6 年前
I think industries are ready to adopt real-time voice, texts, and video communication solutions to improve customer experience.
gardnr超过 6 年前
Actual &quot;serverless&quot; webrtc. It&#x27;s very unfortunate that faas products use that misnomer.
评论 #18202401 未加载
k__超过 6 年前
Nice idea :D<p>When I played around with WebRTC for the first time I used copy-and-paste signaling.
评论 #18202169 未加载
cphoover超过 6 年前
Can I get a better description&#x2F;instructions in the README?
评论 #18202182 未加载
hamandcheese超过 6 年前
Why does the QR code constantly change?
评论 #18202444 未加载
adzm超过 6 年前
Will this work across NATs?
评论 #18202643 未加载
brian_herman__超过 6 年前
This is amazing! Good job!
评论 #18203306 未加载