新增拉流代理源相关api

This commit is contained in:
xiongziliang 2020-03-10 22:56:56 +08:00
parent 891b86e7ea
commit 038617a6c4

View File

@ -75,13 +75,16 @@ public:
* @param strUrl * @param strUrl
*/ */
void play(const string &strUrl) override; void play(const string &strUrl) override;
/**
*
*/
int totalReaderCount() ;
private: private:
//MediaSourceEvent override //MediaSourceEvent override
bool close(MediaSource &sender,bool force) override; bool close(MediaSource &sender,bool force) override;
void onNoneReader(MediaSource &sender) override; void onNoneReader(MediaSource &sender) override;
int totalReaderCount(MediaSource &sender) override; int totalReaderCount(MediaSource &sender) override;
int totalReaderCount() ;
void rePlay(const string &strUrl,int iFailedCnt); void rePlay(const string &strUrl,int iFailedCnt);
void onPlaySuccess(); void onPlaySuccess();
private: private: