added out_bytes counter

This commit is contained in:
Roman Arutyunyan 2013-01-13 13:41:32 +04:00
parent ada1efd594
commit 5fd0f21eb6

View file

@ -521,6 +521,7 @@ ngx_rtmp_send(ngx_event_t *wev)
return;
}
s->out_bytes += n;
s->ping_reset = 1;
ngx_rtmp_update_bandwidth(&ngx_rtmp_bw_out, n);
s->out_bpos += n;