mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-30 23:02:24 +08:00
实现hls的流量汇报事件
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#define ZLMEDIAKIT_HLSMEDIASOURCE_H
|
||||
|
||||
#include <atomic>
|
||||
#include "Util/TimeTicker.h"
|
||||
#include "Common/MediaSource.h"
|
||||
namespace mediakit{
|
||||
|
||||
@@ -43,6 +44,7 @@ private:
|
||||
MediaInfo _info;
|
||||
bool _added = false;
|
||||
weak_ptr<HlsMediaSource> _src;
|
||||
Ticker _ticker;
|
||||
};
|
||||
|
||||
class HlsMediaSource : public MediaSource {
|
||||
|
||||
Reference in New Issue
Block a user