-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
采用DevChannel注入H264,如何确定rtsp或者hls客户端长时间无观看? #55
Labels
Comments
我这边就想定时获取一下客户端连接的状态,如果flv的话是不是直接走readerCount就可以了?hls就暂时没有办法获取客户端访问状态了吗? |
是的 目前ZLMediaKit内部的实时内存流是通过MediaSource对象管理的,http-flv和rtmp共用的RtmpMediaSource。你可以根据app、流id 找到相应的RtmpMediaSource,然后根据readerCount方法就能知道总共有多少个播放器。 hls的播放机制是文件式,根http-flv、rtmp、rtsp完全不一样,目前还未实现链接数统计功能 |
好的,你的回答解决了我的疑问,多谢啦~~~ |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想在客户端无观看时,手动关闭设备的链路,但不知道如何获取到客户端的连接状态,请问这部分接口或者回调在哪里呀
The text was updated successfully, but these errors were encountered: