如何使用 FluorineFx 从客户端发布音频流?
我不知道如何在客户端上使用 FluorineFx 将音频流从客户端发布到服务器。我们希望通过已建立的 NetConnection 将录制的音频数据从客户端流式传输到流。 FluorineFx中有一个NetStream类,但它没有publish方法。 FluorineFx中的NetStream类只有play方法。但据我了解,这会在客户端上播放来自服务器的流。
FluorineFx 中是否未实现发布,或者我错过了什么?
I can't figure out how to publish an audio stream from a client to the server using FluorineFx on the client. We want to stream recorded audio data from the client to the stream via the already established NetConnection. There is a NetStream class in FluorineFx but it has no publish method. The NetStream class in FluorineFx only has the play method. But as far as I understand this plays a stream from the server on the client.
Is publish not implemented in FluorineFx or do I miss something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
查看 http://www.fluinefx.com/docs/fluine/
请参阅在实时消息传送下发布流和订阅流。
Check out http://www.fluorinefx.com/docs/fluorine/
See Publishing streams and subscribing to streams under Real-time Messaging.
不幸的是这个功能似乎没有实现。
Unfortunately this feature doesn't seem to be implemented.
最近也在研究fluinefx的代码。奇怪的是,尽管文档提到了发布,但代码中没有实现发布。
实际上,在其PlayEngine.cs中,有一个类似的实现PullAndPush(),可以从FLV文件中提取数据并将其推送到远程。
所以,我在Netstream类中尝试了一些类似的代码,它几乎可以工作,并且可以将流推送到rtmplite服务器,并且可以在rtmplite中的测试网络上播放。
Recently, I also look into the codes of fluorinefx. It is strange why the publish is not implemented in the codes although the doc mentioned it.
Actually, in its PlayEngine.cs, there is a similar implementation PullAndPush() which can pull data from a FLV file and push it to the remote.
So, I tried some similar codes in Netstream class, it can almost work and can push the stream to the rtmplite server and can be played by the test web in rtmplite.