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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pure C WebRTC

107 点作者 seansh超过 1 年前

5 条评论

seansh超过 1 年前
I was going through some of my old projects and saw one that used this webrtc library. I remember at least at the time (3-4 years ago) if you wanted a webrtc communication channel outside of the browser there were really only two options. One was from Google [1], which is used in both chrome and firefox, and the other one was this c library.<p>I recall it took me a week to figure out how to properly compile Google&#x27;s implementation (which uses the bazel build system) as a static or dynamic library to link to. Even then, I think I couldn&#x27;t get it below something like 50MB. I don&#x27;t remember the exact binary size but it was so large that I either had to give up using it or give up calling my app &quot;lightweight&quot;.<p>Later I learned that there was also another great implementation written in Go [2] but obviously not feasible if the rest of your project is not in Go.<p>[1] <a href="https:&#x2F;&#x2F;webrtc.googlesource.com&#x2F;src" rel="nofollow">https:&#x2F;&#x2F;webrtc.googlesource.com&#x2F;src</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;pion&#x2F;webrtc">https:&#x2F;&#x2F;github.com&#x2F;pion&#x2F;webrtc</a>
评论 #38906324 未加载
评论 #38905473 未加载
评论 #38905467 未加载
评论 #38906107 未加载
Sean-Der超过 1 年前
I am really excited about <a href="https:&#x2F;&#x2F;github.com&#x2F;sepfy&#x2F;libpeer">https:&#x2F;&#x2F;github.com&#x2F;sepfy&#x2F;libpeer</a>. It has examples ready for ESP32 etc....<p>When working on KVS I wasn&#x27;t familiar with the embedded space at all. I saw &#x27;heavyweight&#x27; embedded where you were running on Linux. Then you had RTOS&#x2F;No OS at all. I wasn&#x27;t prepared for these devices at all. If we can make WebRTC work in the embedded space I think it will really accelerate what developers are able to build!<p>Remotely driven cars, security cameras, robots in hospitals that bring iPads to infectious patients etc... Creative people are building amazing things. The WebRTC&#x2F;video space needs to work harder and support them :)<p>-----<p>I love how diverse the WebRTC space is now. Outside of this implementation you have plenty of other options!<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;shinyoshiaki&#x2F;werift-webrtc">https:&#x2F;&#x2F;github.com&#x2F;shinyoshiaki&#x2F;werift-webrtc</a> (Typescript)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;pion&#x2F;webrtc">https:&#x2F;&#x2F;github.com&#x2F;pion&#x2F;webrtc</a> (Golang)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;webrtc-rs&#x2F;webrtc">https:&#x2F;&#x2F;github.com&#x2F;webrtc-rs&#x2F;webrtc</a> (Rust)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;algesten&#x2F;str0m">https:&#x2F;&#x2F;github.com&#x2F;algesten&#x2F;str0m</a> (Rust)<p>* h<a href="https:&#x2F;&#x2F;github.com&#x2F;sepfy&#x2F;libpeer">https:&#x2F;&#x2F;github.com&#x2F;sepfy&#x2F;libpeer</a> (C&#x2F;Embedded)<p>* <a href="https:&#x2F;&#x2F;webrtc.googlesource.com&#x2F;src&#x2F;" rel="nofollow">https:&#x2F;&#x2F;webrtc.googlesource.com&#x2F;src&#x2F;</a> (C++)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;sipsorcery-org&#x2F;sipsorcery">https:&#x2F;&#x2F;github.com&#x2F;sipsorcery-org&#x2F;sipsorcery</a> (C#)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;paullouisageneau&#x2F;libdatachannel">https:&#x2F;&#x2F;github.com&#x2F;paullouisageneau&#x2F;libdatachannel</a> (C++)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;elixir-webrtc">https:&#x2F;&#x2F;github.com&#x2F;elixir-webrtc</a> (Elixir)<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;aiortc&#x2F;aiortc">https:&#x2F;&#x2F;github.com&#x2F;aiortc&#x2F;aiortc</a> (Python)<p>* GStreamer’s webrtcbin (C)<p>See <a href="https:&#x2F;&#x2F;github.com&#x2F;sipsorcery&#x2F;webrtc-echoes">https:&#x2F;&#x2F;github.com&#x2F;sipsorcery&#x2F;webrtc-echoes</a> for examples of some running against each other.
simlevesque超过 1 年前
Kinesis Video Streams are somewhat broke . I had to use another tool.<p>I would connect as viewer (ConnectAsViewer) and when I disconnected often the connection would stay open. And since there&#x27;s a 10 client limit, after multiple disconnections in the same couple of minutes the system thought there was 10 client and blocked new client but there was zero clients.
amiga1200超过 1 年前
I&#x27;ve used WebRTC in JavaScript, but I can&#x27;t quite get why I would use this library. Can anyone respond with use cases?
评论 #38906540 未加载
评论 #38906594 未加载
ComputerGuru超过 1 年前
Anyone find a way to get raspivid (or a lower abstraction) to play nice with WebRTC and negotiate the bit rate depending on the connection quality?