流量统计添加isPlayer参数

This commit is contained in:
xiongziliang
2019-05-20 17:46:06 +08:00
parent f9f487bf61
commit fbead02868
5 changed files with 7 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ extern const char kBroadcastShellLogin[];
//停止rtsp/rtmp/http-flv会话后流量汇报事件广播
extern const char kBroadcastFlowReport[];
#define BroadcastFlowReportArgs const MediaInfo &args,const uint64_t &totalBytes,const uint64_t &totalDuration,TcpSession &sender
#define BroadcastFlowReportArgs const MediaInfo &args,const uint64_t &totalBytes,const uint64_t &totalDuration,const bool &isPlayer,TcpSession &sender
//未找到流后会广播该事件,请在监听该事件后去拉流或其他方式产生流,这样就能按需拉流了
extern const char kBroadcastNotFoundStream[];