RTMP:使用Python检查流是否在线
我有几个 Flash 流,我只想显示活动/实时/在线流。有人可以提供可以检查流状态的示例代码吗?或者指出我可以在哪里获取它(我认为Red5和RTMPy应该有这个,但我完全没有任何RTMP经验;还有RTMP规范,但wiki说它不完整)?我的目标语言是 Python,但任何语言的代码都会有所帮助。
I have several Flash streams and I want to display only active/live/online streams. Can someone provide sample code that can check status of stream? or point out where I can grab it (I think Red5 and RTMPy should have this, but I completely don't have any experience with RTMP; there is also RTMP specification, but wiki says it is incomplete)? My target language is Python, but code in any language will be helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果连接丢失或连接失败,下面的代码将打印错误消息。
In case of connection lost or connection fail the code below will print error message.