mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
添加无人观看主动断开事件
This commit is contained in:
@@ -360,7 +360,7 @@ void RtmpSession::sendPlayResponse(const string &err,const RtmpMediaSource::Ptr
|
||||
strongSelf->shutdown();
|
||||
});
|
||||
_pPlayerSrc = src;
|
||||
if (src->getRing()->readerCount() == 1) {
|
||||
if (src->readerCount() == 1) {
|
||||
src->seekTo(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user