流量汇报事件添加时长字段

This commit is contained in:
xiongziliang
2018-10-09 09:36:03 +08:00
parent cacd241223
commit 5d7ed15355
4 changed files with 16 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ extern const char kBroadcastShellLogin[];
//停止rtsp/rtmp/http-flv会话后流量汇报事件广播
extern const char kBroadcastFlowReport[];
#define BroadcastFlowReportArgs const MediaInfo &args,const uint64_t &totalBytes,TcpSession &sender
#define BroadcastFlowReportArgs const MediaInfo &args,const uint64_t &totalBytes,const uint64_t &totalDuration,TcpSession &sender
//流量汇报事件流量阈值,单位KB默认1MB
extern const char kFlowThreshold[];