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.

Go Donut: Convert Live Streaming to WebRTC

128 pointsby dreampeppers9910 months ago

9 comments

iod10 months ago
Another library that I would recommend people look into for live streaming to WebRTC, as an alternative to Pion used in this project, is Janus WebRTC Server. I use it for ingesting RTP streams I generate from usb webcams and then playing it with very low latency in the browser. It even has a feature where you can stream multiple streams simultaneously. It also has a simple http api for adding, updating, and removing streams on demand.<p>Here is the library&#x27;s streaming demo:<p><a href="https:&#x2F;&#x2F;janus.conf.meetecho.com&#x2F;demos&#x2F;streaming.html" rel="nofollow">https:&#x2F;&#x2F;janus.conf.meetecho.com&#x2F;demos&#x2F;streaming.html</a>
评论 #41157397 未加载
评论 #41157179 未加载
majorchord10 months ago
My issue with this (and WebRTC in general) is that most residential users (at least in the US, probably many other countries) are behind some type of symmetrical NAT or CGNAT, often without the ability to forward ports or have working NAT traversal, which makes WebRTC unusable without a TURN server as it relies on communicating between peers via DTLS over UDP.<p>The problem with needing a TURN server is that you practically need to host it yourself, because there are no fast and reliable public ones, probably due to abuse. WebTorrent also has the same problem since it also uses WebRTC, and as such, 99% of applications that use either technology simply do not work at all for me or anyone else I&#x27;ve asked to try these services.
评论 #41148656 未加载
Hypnosis617310 months ago
I searched a solution to this 2 year ago, great to see such an easy to use implementation now.
评论 #41147917 未加载
rgovostes10 months ago
RTSPtoWeb (<a href="https:&#x2F;&#x2F;github.com&#x2F;deepch&#x2F;RTSPtoWeb">https:&#x2F;&#x2F;github.com&#x2F;deepch&#x2F;RTSPtoWeb</a>) is a similar application for re-encapsulating video packets from RTSP to WebRTC, also written in Go.
ongy10 months ago
What&#x27;s the purpose of this?<p>Mostly a tech-demo, or primarily to plug a p2p layer onto existing servers?
评论 #41147887 未加载
评论 #41153481 未加载
评论 #41148553 未加载
评论 #41147578 未加载
nixosbestos10 months ago
Wait is there a CLI mode? What if I want a simple rtmp&#x2F;srt -&gt; webrtc bridge on a &quot;headless&quot; device?
Sean-Der10 months ago
This is a great project. I really want to add a little JS lib so it could be all done client side<p>&lt;donut server=‘’ src=‘rtmp:&#x2F;&#x2F;….’ &#x2F;&gt;<p>src could be any protocol you want.
评论 #41148252 未加载
tamimio10 months ago
Does it work with USB cameras? It would be great if it can just interface with &#x2F;dev&#x2F;video0 for example.
评论 #41157548 未加载
alexdoesh10 months ago
Do we have any reverse bridge available, that you can use for in-browser or edge conversion from WebRTC to RTMP&#x2F;HSL?
评论 #41151863 未加载
评论 #41148930 未加载