流量汇报事件添加客户端ip和端口参数

This commit is contained in:
xiongziliang
2020-02-13 11:33:59 +08:00
parent ead8b5a89c
commit 7e25537957
11 changed files with 34 additions and 15 deletions

View File

@@ -162,11 +162,15 @@ typedef struct {
* @param total_bytes 耗费上下行总流量,单位字节数
* @param total_seconds 本次tcp会话时长单位秒
* @param is_player 客户端是否为播放器
* @param peer_ip 客户端ip
* @param peer_port 客户端端口号
*/
void (API_CALL *on_mk_flow_report)(const mk_media_info url_info,
uint64_t total_bytes,
uint64_t total_seconds,
int is_player);
int is_player,
const char *peer_ip,
uint16_t peer_port);
} mk_events;