mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
新增拉流代理源相关api
This commit is contained in:
parent
891b86e7ea
commit
038617a6c4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user