Gstreamer 可以在服务器端使用,将音频按需流式传输到多个客户端吗?
我正在开发一个音频混合程序 (DAW) Web 应用程序,并考虑使用 Python 和 Python Gstreamer 作为后端。据我所知,我可以将单个音乐项目的音轨包含在 gst.Pipeline bin 中,但播放似乎也由该 Pipeline 控制。
是否可以在代表项目的管道中创建多个“视图”?这样多个客户端就可以随意抓取该管道的音频流,并且能够进行时间搜索?
如果有更好的平台/库可供使用,我也很乐意提供建议。不过,我更愿意坚持使用 Python,因为我的团队成员已经在为该项目的其他部分研究 Python。
非常感谢!
I'm working on an audio mixing program (DAW) web app, and considering using Python and Python Gstreamer for the backend. I understand that I can contain the audio tracks of a single music project in a gst.Pipeline bin, but playback also appears to be controlled by this Pipeline.
Is it possible to create several "views" into the Pipeline representing the project? So that more than one client can grab an audio stream of this Pipeline at will, with the ability to do time seek?
If there is a better platform/library out there to use, I'd appreciate advice on that too. I'd prefer sticking to Python though, because my team members are already researching Python for other parts of this project.
Thanks very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想查看 Flumotion (www.flumotion.org)。它是一个使用 GStreamer 的基于 Python 的流媒体服务器,您可能能够从中获得关于如何执行应用程序的实现想法。它在很大程度上依赖于 python 库 Twisted 来进行网络处理。
You might want to look at Flumotion (www.flumotion.org). It is a python based streaming server using GStreamer, you might be able to get implementation ideas from that in terms of how you do your application. It relies heavily on the python library Twisted for its network handling.