From 038617a6c4bca0707f747274e2c0084b3bc50256 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 10 Mar 2020 22:56:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8B=89=E6=B5=81=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=BA=90=E7=9B=B8=E5=85=B3api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Player/PlayerProxy.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Player/PlayerProxy.h b/src/Player/PlayerProxy.h index e4ed9807..7560e4c3 100644 --- a/src/Player/PlayerProxy.h +++ b/src/Player/PlayerProxy.h @@ -75,13 +75,16 @@ public: * @param strUrl */ void play(const string &strUrl) override; + + /** + * 获取观看总人数 + */ + int totalReaderCount() ; private: //MediaSourceEvent override bool close(MediaSource &sender,bool force) override; void onNoneReader(MediaSource &sender) override; int totalReaderCount(MediaSource &sender) override; - int totalReaderCount() ; - void rePlay(const string &strUrl,int iFailedCnt); void onPlaySuccess(); private: