使用 rtmlite 在 Google App Engine 中录制音频?
我正在构建一个 Google App Engine 应用程序,该应用程序需要录制音频并将其保存在我们的数据库中。我发现除了使用某种形式的 RTMP 服务器通过 Flash 录制音频之外没有其他选择,因此 [rtmplite] (http://code.google.com/p/rtmplite/) 进入了我们的视野。
由于我没有 rtmplite 的经验,它对我们的项目来说是正确的选择吗?或者还有其他基于Python的RTMP解决方案允许录音吗?有什么Flash客户端可以推荐吗?
谢谢!
I am in the process of building a Google App Engine application which requires audio to be recorded and saved in our database. I have found no alternative to using some form of RTMP server for recording audio through flash, so [rtmplite] (http://code.google.com/p/rtmplite/) came into our horizon.
Since I have no experience with rtmplite, is it the right choice for our project? Or is there any other Python-based RTMP solution that allows audio recording? Any flash client you can recommend?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Google App Engine 对于 RTMP 来说很棘手,因为它不支持套接字。您必须使用 RTMPT 之类的东西,它通过 HTTP 建立隧道,但是,这种隧道会产生延迟,因此如果您希望实时执行任何操作,这可能会成为一个问题。
目前 rtmplite 不支持 RTMPT,因此目前无法实现。我参与了一个项目 RTMPy (http://rtmpy.org),该项目正在规划对 RTMPT 和 AppEngine 的支持。不幸的是,AppEngine 支持可能需要几个月的时间。
Google App Engine is tricky for RTMP because it does not support sockets. You would have to use something like RTMPT which is tunneled over HTTP, however, this tunneling incurs latency so if you are looking to do anything realtime this could become an issue.
Currently rtmplite does not support RTMPT so this would not be possible at the moment. I am involved in a project, RTMPy (http://rtmpy.org), that is planning support for RTMPT and AppEngine. Unfortunately AppEngine support is probably a few months out.
尝试应用程序引擎后端,他们目前没有将此类流式传输所需的很多内容列入白名单。但他们可能很快就会这样做。一旦它们启用了套接字,那么 rtmlite 或 rtmpy 就可以轻松地移植到那里运行。后端已经支持流式传输所需的无限请求长度。
Try appengine backends, they currently don't whitelist a lot of things required for such streaming. But they might soon do so. Once they enable sockets, then rtmplite or rtmpy could easily be ported to run there. Backends already support unlimited request length which is required for streaming.