从 Java 获取 RTMP 流
我觉得问这个问题很愚蠢,但我在网上找不到任何对我有帮助的东西。
有没有办法从 Java 应用程序中连接到 RTMP 流?
我只需要连接并读取几个字节。我什至不需要播放视频或任何东西。它仅用于监视连接。
我尝试使用 java.net.URL
甚至 red5 的 rtmpclient
和 rtmpconnection
,但不知道它如何帮助我。
I feel pretty stupid asking this, but I just couldn't find anything on the web that helped me.
Is there a way to connect to an RTMP stream from within a Java application?
I just need to connect and read a few bytes. I even don't need to play a video or anything. It's only for monitoring the connection.
I tried using java.net.URL
and even red5's rtmpclient
and rtmpconnection
, but couldn't figure out how it could help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现 JUV RTMP 客户端允许连接到 RTMP 服务器。
它有以下亮点:
1.RTMP/RTMPT/RTMPS/RTMPE/RTMPTE 协议支持(AMF0 和 AMF3 编码)
2.远程方法调用
3.远程共享对象管理
4.播放和发布音视频流(支持 AMF0 和 AMF3 编码)服务器)(!不包括音频/视频编解码器实现!)
i found JUV RTMP Client that allows connecting to a RTMP Server.
it has the following highlights:
1.RTMP/RTMPT/RTMPS/RTMPE/RTMPTE protocols support (both AMF0 and AMF3 encodings)
2.Remote method invocation
3.Remote shared object management
4.Play and publish audio/video streams (supported by the server) (!audio/video codec implementations are not included!)