WebRTC to RTMP

agolangf · · 2171 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi,</p> <p>I have a use-case where I want to record the webcam/desktop and stream to an RTMP endpoint.</p> <p>Here&#39;s what I need to do broken down:</p> <ul> <li><del>(Browser) Enable Video/Desktop recording.</del></li> <li><del>(Client) Stream to Server via WebSockets</del></li> <li>(Server) Capture Stream on Server</li> <li>(Server) Relay to RTMP endpoint.</li> </ul> <p>I&#39;ve done the top two and don&#39;t need help with that. </p> <p>I&#39;ve had a good look around wrt GoLang RTMP demos, but everything seems pretty complicated or is really old. </p> <p>Can someone suggest some github repos that I could look at where I can achieve receiving the web-socket data and then passing it on to an RTMP endpoint?</p> <p>Thanks</p> <hr/>**评论:**<br/><br/>wadearnold: <pre><p>Check out Red5 and open source media server that supports RTMP. It may even do transcoding. The Java source code is on GitHub which you could use as a basis for your solution. <a href="http://red5.org" rel="nofollow">http://red5.org</a></p></pre>no1youknowz: <pre><p>If I knew Java. I&#39;d be using Wowza. I&#39;ve tried using that, but their WebRTC is experimental and requires too many hops to put into production.</p> <p>But still, no thanks with Red5. I&#39;m looking for a GoLang only solution.</p></pre>titpetric: <pre><p>Anything WebRTC is experimental at this point, tbh.</p></pre>raff99: <pre><p>ffmpeg/libav have support for rtmp so you can go that route.</p> <p>Not sure about this library, but at least it&#39;s being mantained: <a href="https://github.com/imkira/go-libav" rel="nofollow">https://github.com/imkira/go-libav</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

2171 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传